public static class ListRulesRequest.Builder extends Object implements com.oracle.bmc.requests.BmcRequest.Builder<ListRulesRequest,Void>
| Modifier and Type | Method and Description |
|---|---|
ListRulesRequest |
build()
Build the instance of ListRulesRequest as configured by this builder
|
ListRulesRequest |
buildWithoutInvocationCallback() |
ListRulesRequest.Builder |
compartmentId(String compartmentId)
The OCID of the compartment to which this rule belongs.
|
ListRulesRequest.Builder |
copy(ListRulesRequest o)
Copy method to populate the builder with values from the given instance.
|
ListRulesRequest.Builder |
displayName(String displayName)
A filter to return only rules with descriptions that match the displayName string
in this parameter.
|
ListRulesRequest.Builder |
invocationCallback(com.oracle.bmc.util.internal.Consumer<javax.ws.rs.client.Invocation.Builder> invocationCallback)
Set the invocation callback for the request to be built.
|
ListRulesRequest.Builder |
lifecycleState(Rule.LifecycleState lifecycleState)
A filter to return only rules that match the lifecycle state in this parameter.
|
ListRulesRequest.Builder |
limit(Integer limit)
The maximum number of items to return.
|
ListRulesRequest.Builder |
opcRequestId(String opcRequestId)
The unique Oracle-assigned identifier for the request.
|
ListRulesRequest.Builder |
page(String page)
For list pagination.
|
ListRulesRequest.Builder |
retryConfiguration(com.oracle.bmc.retrier.RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.
|
ListRulesRequest.Builder |
sortBy(ListRulesRequest.SortBy sortBy)
Specifies the attribute with which to sort the rules.
|
ListRulesRequest.Builder |
sortOrder(ListRulesRequest.SortOrder sortOrder)
Specifies sort order.
|
String |
toString() |
public ListRulesRequest.Builder invocationCallback(com.oracle.bmc.util.internal.Consumer<javax.ws.rs.client.Invocation.Builder> invocationCallback)
Set the invocation callback for the request to be built.
invocationCallback - the invocation callback to be set for the requestpublic ListRulesRequest.Builder retryConfiguration(com.oracle.bmc.retrier.RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.
retryConfiguration - the retry configuration to be used for the requestpublic ListRulesRequest.Builder copy(ListRulesRequest o)
Copy method to populate the builder with values from the given instance.
copy in interface com.oracle.bmc.requests.BmcRequest.Builder<ListRulesRequest,Void>public ListRulesRequest build()
Build the instance of ListRulesRequest as configured by this builder
Note that this method takes calls to invocationCallback(com.oracle.bmc.util.internal.Consumer) into account,
while the method buildWithoutInvocationCallback() does not.
This is the preferred method to build an instance.
build in interface com.oracle.bmc.requests.BmcRequest.Builder<ListRulesRequest,Void>public ListRulesRequest.Builder compartmentId(String compartmentId)
The OCID of the compartment to which this rule belongs.
this.public ListRulesRequest.Builder limit(Integer limit)
The maximum number of items to return. 1 is the minimum, 50 is the maximum. Default: 10
this.public ListRulesRequest.Builder page(String page)
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.
this.public ListRulesRequest.Builder lifecycleState(Rule.LifecycleState lifecycleState)
A filter to return only rules that match the lifecycle state in this parameter.
Example: `Creating`
this.public ListRulesRequest.Builder displayName(String displayName)
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.\"`
this.public ListRulesRequest.Builder sortBy(ListRulesRequest.SortBy sortBy)
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.
this.public ListRulesRequest.Builder sortOrder(ListRulesRequest.SortOrder sortOrder)
Specifies sort order.
**ASC:** Ascending sort order. * **DESC:** Descending sort order.
this.public ListRulesRequest.Builder opcRequestId(String opcRequestId)
The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
this.public ListRulesRequest buildWithoutInvocationCallback()
Copyright © 2016–2021. All rights reserved.