Class ListRulesRequest
- java.lang.Object
-
- com.oracle.bmc.requests.BmcRequest<Void>
-
- com.oracle.bmc.events.requests.ListRulesRequest
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20181201") public class ListRulesRequest extends BmcRequest<Void>Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/latest/events/ListRulesExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ListRulesRequest.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classListRulesRequest.Builderstatic classListRulesRequest.SortBySpecifies the attribute with which to sort the rules.static classListRulesRequest.SortOrderSpecifies sort order.
-
Constructor Summary
Constructors Constructor Description ListRulesRequest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ListRulesRequest.Builderbuilder()Return a new builder for this request object.booleanequals(Object o)Uses getInvocationCallback and getRetryConfiguration to determine if passed request is equal to ‘this’.StringgetCompartmentId()The OCID of the compartment to which this rule belongs.StringgetDisplayName()A filter to return only rules with descriptions that match the displayName string in this parameter.Rule.LifecycleStategetLifecycleState()A filter to return only rules that match the lifecycle state in this parameter.IntegergetLimit()The maximum number of items to return.StringgetOpcRequestId()The unique Oracle-assigned identifier for the request.StringgetPage()For list pagination.ListRulesRequest.SortBygetSortBy()Specifies the attribute with which to sort the rules.ListRulesRequest.SortOrdergetSortOrder()Specifies sort order.inthashCode()Uses getInvocationCallback and getRetryConfiguration to generate a hash.ListRulesRequest.BuildertoBuilder()Return an instance ofListRulesRequest.Builderthat allows you to modify request properties.StringtoString()-
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 to which this rule belongs.
-
getLimit
public Integer getLimit()
The maximum number of items to return.1 is the minimum, 50 is the maximum. Default: 10
-
getPage
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.
-
getLifecycleState
public Rule.LifecycleState getLifecycleState()
A filter to return only rules that match the lifecycle state in this parameter.Example: Creating
-
getDisplayName
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."
-
getSortBy
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.
-
getSortOrder
public ListRulesRequest.SortOrder getSortOrder()
Specifies sort order.**ASC:** Ascending sort order. * **DESC:** Descending sort order.
-
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.
-
toBuilder
public ListRulesRequest.Builder toBuilder()
Return an instance ofListRulesRequest.Builderthat allows you to modify request properties.- Returns:
- instance of
ListRulesRequest.Builderthat allows you to modify request properties.
-
builder
public static ListRulesRequest.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:BmcRequestUses getInvocationCallback and getRetryConfiguration to determine if passed request is equal to ‘this’.- Overrides:
equalsin classBmcRequest<Void>
-
hashCode
public int hashCode()
Description copied from class:BmcRequestUses getInvocationCallback and getRetryConfiguration to generate a hash.- Overrides:
hashCodein classBmcRequest<Void>
-
-