Package com.oracle.bmc.waas.requests
Class ListWaasPoliciesRequest
- java.lang.Object
-
- com.oracle.bmc.requests.BmcRequest<Void>
-
- com.oracle.bmc.waas.requests.ListWaasPoliciesRequest
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20181116") public class ListWaasPoliciesRequest extends BmcRequest<Void>
Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/waas/ListWaasPoliciesExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ListWaasPoliciesRequest.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ListWaasPoliciesRequest.Builder
static class
ListWaasPoliciesRequest.SortBy
The value by which policies are sorted in a paginated ‘List’ call.static class
ListWaasPoliciesRequest.SortOrder
The value of the sorting direction of resources in a paginated ‘List’ call.
-
Constructor Summary
Constructors Constructor Description ListWaasPoliciesRequest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ListWaasPoliciesRequest.Builder
builder()
Return a new builder for this request object.boolean
equals(Object o)
Uses getInvocationCallback and getRetryConfiguration to determine if passed request is equal to ‘this’.String
getCompartmentId()
The OCID of the compartment.List<String>
getDisplayName()
Filter policies using a list of display names.List<String>
getId()
Filter policies using a list of policy OCIDs.List<LifecycleStates>
getLifecycleState()
Filter policies using a list of lifecycle states.Integer
getLimit()
The maximum number of items to return in a paginated call.String
getOpcRequestId()
The unique Oracle-assigned identifier for the request.String
getPage()
The value of the opc-next-page response header from the previous paginated call.ListWaasPoliciesRequest.SortBy
getSortBy()
The value by which policies are sorted in a paginated ‘List’ call.ListWaasPoliciesRequest.SortOrder
getSortOrder()
The value of the sorting direction of resources in a paginated ‘List’ call.Date
getTimeCreatedGreaterThanOrEqualTo()
A filter that matches policies created on or after the specified date and time.Date
getTimeCreatedLessThan()
A filter that matches policies created before the specified date-time.int
hashCode()
Uses getInvocationCallback and getRetryConfiguration to generate a hash.ListWaasPoliciesRequest.Builder
toBuilder()
Return an instance ofListWaasPoliciesRequest.Builder
that allows you to modify request properties.String
toString()
-
Methods inherited from class com.oracle.bmc.requests.BmcRequest
getBody$, getInvocationCallback, getRetryConfiguration, setInvocationCallback, setRetryConfiguration, supportsExpect100Continue
-
-
-
-
Method Detail
-
getCompartmentId
public String getCompartmentId()
The OCID of the compartment.This number is generated when the compartment is created.
-
getOpcRequestId
public String getOpcRequestId()
The unique Oracle-assigned identifier for the request.If you need to contact Oracle about a particular request, please provide the request ID.
-
getLimit
public Integer getLimit()
The maximum number of items to return in a paginated call.If unspecified, defaults to 10.
-
getPage
public String getPage()
The value of the opc-next-page response header from the previous paginated call.
-
getSortBy
public ListWaasPoliciesRequest.SortBy getSortBy()
The value by which policies are sorted in a paginated ‘List’ call.If unspecified, defaults to timeCreated.
-
getSortOrder
public ListWaasPoliciesRequest.SortOrder getSortOrder()
The value of the sorting direction of resources in a paginated ‘List’ call.If unspecified, defaults to DESC.
-
getLifecycleState
public List<LifecycleStates> getLifecycleState()
Filter policies using a list of lifecycle states.
-
getTimeCreatedGreaterThanOrEqualTo
public Date getTimeCreatedGreaterThanOrEqualTo()
A filter that matches policies created on or after the specified date and time.
-
getTimeCreatedLessThan
public Date getTimeCreatedLessThan()
A filter that matches policies created before the specified date-time.
-
toBuilder
public ListWaasPoliciesRequest.Builder toBuilder()
Return an instance ofListWaasPoliciesRequest.Builder
that allows you to modify request properties.- Returns:
- instance of
ListWaasPoliciesRequest.Builder
that allows you to modify request properties.
-
builder
public static ListWaasPoliciesRequest.Builder builder()
Return a new builder for this request object.- Returns:
- builder for the request object
-
equals
public boolean equals(Object o)
Description copied from class:BmcRequest
Uses getInvocationCallback and getRetryConfiguration to determine if passed request is equal to ‘this’.- Overrides:
equals
in classBmcRequest<Void>
-
hashCode
public int hashCode()
Description copied from class:BmcRequest
Uses getInvocationCallback and getRetryConfiguration to generate a hash.- Overrides:
hashCode
in classBmcRequest<Void>
-
-