@Generated(value="OracleSDKGenerator", comments="API Version: 20181116") public class ListCustomProtectionRulesRequest extends BmcRequest<Void>
Example: Click here to see how to use ListCustomProtectionRulesRequest.
| Modifier and Type | Class and Description |
|---|---|
static class |
ListCustomProtectionRulesRequest.Builder |
static class |
ListCustomProtectionRulesRequest.SortBy
The value by which custom protection rules are sorted in a paginated ‘List’ call.
|
static class |
ListCustomProtectionRulesRequest.SortOrder
The value of the sorting direction of resources in a paginated ‘List’ call.
|
| Modifier and Type | Method and Description |
|---|---|
static ListCustomProtectionRulesRequest.Builder |
builder() |
String |
getCompartmentId()
The OCID of the compartment.
|
List<String> |
getDisplayName()
Filter custom protection rules using a list of display names.
|
List<String> |
getId()
Filter custom protection rules using a list of custom protection rule OCIDs.
|
List<LifecycleStates> |
getLifecycleState()
Filter Custom Protection rules 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. |
ListCustomProtectionRulesRequest.SortBy |
getSortBy()
The value by which custom protection rules are sorted in a paginated ‘List’ call.
|
ListCustomProtectionRulesRequest.SortOrder |
getSortOrder()
The value of the sorting direction of resources in a paginated ‘List’ call.
|
Date |
getTimeCreatedGreaterThanOrEqualTo()
A filter that matches Custom Protection rules created on or after the specified date-time.
|
Date |
getTimeCreatedLessThan()
A filter that matches custom protection rules created before the specified date-time.
|
getBody$, getInvocationCallback, getRetryConfiguration, setInvocationCallback, setRetryConfigurationpublic static ListCustomProtectionRulesRequest.Builder builder()
public String getCompartmentId()
The OCID of the compartment. This number is generated when the compartment is created.
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.
public Integer getLimit()
The maximum number of items to return in a paginated call. If unspecified, defaults to 10.
public String getPage()
The value of the opc-next-page response header from the previous paginated call.
public ListCustomProtectionRulesRequest.SortBy getSortBy()
The value by which custom protection rules are sorted in a paginated ‘List’ call. If unspecified, defaults to timeCreated.
public ListCustomProtectionRulesRequest.SortOrder getSortOrder()
The value of the sorting direction of resources in a paginated ‘List’ call. If unspecified, defaults to DESC.
public List<String> getId()
Filter custom protection rules using a list of custom protection rule OCIDs.
public List<String> getDisplayName()
Filter custom protection rules using a list of display names.
public List<LifecycleStates> getLifecycleState()
Filter Custom Protection rules using a list of lifecycle states.
public Date getTimeCreatedGreaterThanOrEqualTo()
A filter that matches Custom Protection rules created on or after the specified date-time.
public Date getTimeCreatedLessThan()
A filter that matches custom protection rules created before the specified date-time.
Copyright © 2016–2021. All rights reserved.