@Generated(value="OracleSDKGenerator", comments="API Version: 20181201") public class ListRulesRequest extends BmcRequest<Void>
Example: Click here to see how to use ListRulesRequest.
Modifier and Type | Class and Description |
---|---|
static class |
ListRulesRequest.Builder |
static class |
ListRulesRequest.SortBy
Specifies the attribute with which to sort the rules.
|
static class |
ListRulesRequest.SortOrder
Specifies sort order.
|
Constructor and Description |
---|
ListRulesRequest() |
Modifier and Type | Method and Description |
---|---|
static ListRulesRequest.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 to which this rule belongs.
|
String |
getDisplayName()
A filter to return only rules with descriptions that match the displayName string in this
parameter.
|
Rule.LifecycleState |
getLifecycleState()
A filter to return only rules that match the lifecycle state in this parameter.
|
Integer |
getLimit()
The maximum number of items to return.
|
String |
getOpcRequestId()
The unique Oracle-assigned identifier for the request.
|
String |
getPage()
For list pagination.
|
ListRulesRequest.SortBy |
getSortBy()
Specifies the attribute with which to sort the rules.
|
ListRulesRequest.SortOrder |
getSortOrder()
Specifies sort order.
|
int |
hashCode()
Uses getInvocationCallback and getRetryConfiguration to generate a hash.
|
ListRulesRequest.Builder |
toBuilder()
Return an instance of
ListRulesRequest.Builder that allows you to modify request properties. |
String |
toString() |
getBody$, getInvocationCallback, getRetryConfiguration, setInvocationCallback, setRetryConfiguration, supportsExpect100Continue
public String getCompartmentId()
The OCID of the compartment to which this rule belongs.
public Integer getLimit()
The maximum number of items to return. 1 is the minimum, 50 is the maximum. Default: 10
public String getPage()
For list pagination. The value of the opc-next-page response header from the previous “List” call. For important details about how pagination works, see List Pagination.
public Rule.LifecycleState getLifecycleState()
A filter to return only rules that match the lifecycle state in this parameter.
Example: Creating
public String getDisplayName()
A filter to return only rules with descriptions that match the displayName string in this parameter.
Example: "This rule sends a notification upon completion of DbaaS backup."
public ListRulesRequest.SortBy getSortBy()
Specifies the attribute with which to sort the rules.
Default: timeCreated
**TIME_CREATED:** Sorts by timeCreated. * **DISPLAY_NAME:** Sorts by displayName. * **ID:** Sorts by id.
public ListRulesRequest.SortOrder getSortOrder()
Specifies sort order.
**ASC:** Ascending sort order. * **DESC:** Descending sort order.
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 ListRulesRequest.Builder toBuilder()
Return an instance of ListRulesRequest.Builder
that allows you to modify request properties.
ListRulesRequest.Builder
that allows you to modify request properties.public static ListRulesRequest.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.