@Generated(value="OracleSDKGenerator", comments="API Version: 20210216") public class ListProtectionPoliciesRequest extends BmcRequest<Void>
Example: Click here to see how to use ListProtectionPoliciesRequest.
Modifier and Type | Class and Description |
---|---|
static class |
ListProtectionPoliciesRequest.Builder |
static class |
ListProtectionPoliciesRequest.Owner
A filter to return only the policies that match the owner as ‘Customer’ or ‘Oracle’.
|
static class |
ListProtectionPoliciesRequest.SortBy
The field to sort by.
|
Constructor and Description |
---|
ListProtectionPoliciesRequest() |
Modifier and Type | Method and Description |
---|---|
static ListProtectionPoliciesRequest.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 compartment OCID.
|
String |
getDisplayName()
A filter to return only resources that match the entire ‘displayname’ given.
|
LifecycleState |
getLifecycleState()
A filter to return only resources their lifecycleState matches the given lifecycleState.
|
Integer |
getLimit()
The maximum number of items to return.
|
String |
getOpcRequestId()
Unique identifier for the request.
|
ListProtectionPoliciesRequest.Owner |
getOwner()
A filter to return only the policies that match the owner as ‘Customer’ or ‘Oracle’.
|
String |
getPage()
The page token representing the page at which to start retrieving results.
|
String |
getProtectionPolicyId()
The protection policy OCID.
|
ListProtectionPoliciesRequest.SortBy |
getSortBy()
The field to sort by.
|
SortOrder |
getSortOrder()
The sort order to use, either ascending (ASC) or descending (DESC).
|
int |
hashCode()
Uses getInvocationCallback and getRetryConfiguration to generate a hash.
|
ListProtectionPoliciesRequest.Builder |
toBuilder()
Return an instance of
ListProtectionPoliciesRequest.Builder that allows you to modify request properties. |
String |
toString() |
getBody$, getInvocationCallback, getRetryConfiguration, setInvocationCallback, setRetryConfiguration, supportsExpect100Continue
public String getCompartmentId()
The compartment OCID.
public LifecycleState getLifecycleState()
A filter to return only resources their lifecycleState matches the given lifecycleState.
public String getDisplayName()
A filter to return only resources that match the entire ‘displayname’ given.
public String getProtectionPolicyId()
The protection policy OCID.
public ListProtectionPoliciesRequest.Owner getOwner()
A filter to return only the policies that match the owner as ‘Customer’ or ‘Oracle’.
public Integer getLimit()
The maximum number of items to return. Specify a value greater than 4.
public String getPage()
The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
public SortOrder getSortOrder()
The sort order to use, either ascending (ASC) or descending (DESC). Allowed values are: - ASC
public ListProtectionPoliciesRequest.SortBy getSortBy()
The field to sort by. You can provide one sort order (sortOrder). Default order for TIMECREATED is descending. Default order for DISPLAYNAME is ascending. If you do not specify a value, then TIMECREATED is used as the default sort order. Allowed values are: - TIMECREATED - DISPLAYNAME
public String getOpcRequestId()
Unique identifier for the request.
public ListProtectionPoliciesRequest.Builder toBuilder()
Return an instance of ListProtectionPoliciesRequest.Builder
that allows you to modify request properties.
ListProtectionPoliciesRequest.Builder
that allows you to modify request properties.public static ListProtectionPoliciesRequest.Builder builder()
Return a new builder for this request object.
public boolean equals(Object o)
BmcRequest
Uses getInvocationCallback and getRetryConfiguration to determine if passed request is equal to ‘this’.
equals
in class BmcRequest<Void>
public int hashCode()
BmcRequest
Uses getInvocationCallback and getRetryConfiguration to generate a hash.
hashCode
in class BmcRequest<Void>
Copyright © 2016–2024. All rights reserved.