public static class ListRulesRequest.Builder extends Object implements BmcRequest.Builder<ListRulesRequest,Void>
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
ListRulesRequest |
build()
Build the instance of ListRulesRequest as configured by this builder
|
ListRulesRequest |
buildWithoutInvocationCallback()
Build the instance of ListRulesRequest as configured by this builder
|
ListRulesRequest.Builder |
catalogId(String catalogId)
Unique catalog identifier.
|
ListRulesRequest.Builder |
copy(ListRulesRequest o)
Copy method to populate the builder with values from the given instance.
|
ListRulesRequest.Builder |
createdById(String createdById)
OCID of the user who created the resource.
|
ListRulesRequest.Builder |
dataAssetKey(String dataAssetKey)
Unique data asset key.
|
ListRulesRequest.Builder |
displayName(String displayName)
A filter to return only resources that match the entire display name given.
|
ListRulesRequest.Builder |
displayNameContains(String displayNameContains)
A filter to return only resources that match display name pattern given.
|
ListRulesRequest.Builder |
entityKey(String entityKey)
Unique entity key.
|
ListRulesRequest.Builder |
externalKey(String externalKey)
Unique external identifier of this resource in the external source system.
|
ListRulesRequest.Builder |
fields(List<ListRulesRequest.Fields> fields)
Specifies the fields to return in a rule summary response.
|
ListRulesRequest.Builder |
fields(ListRulesRequest.Fields singularValue)
Singular setter.
|
ListRulesRequest.Builder |
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.
|
ListRulesRequest.Builder |
lifecycleState(LifecycleState lifecycleState)
A filter to return only resources that match the specified lifecycle state.
|
ListRulesRequest.Builder |
limit(Integer limit)
The maximum number of items to return.
|
ListRulesRequest.Builder |
opcRequestId(String opcRequestId)
The client request ID for tracing.
|
ListRulesRequest.Builder |
originType(RuleOriginType originType)
Rule origin type used to filter the response to a list rules call.
|
ListRulesRequest.Builder |
page(String page)
The page token representing the page at which to start retrieving results.
|
ListRulesRequest.Builder |
retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.
|
ListRulesRequest.Builder |
ruleType(RuleType ruleType)
Rule type used to filter the response to a list rules call.
|
ListRulesRequest.Builder |
sortBy(ListRulesRequest.SortBy sortBy)
The field to sort by.
|
ListRulesRequest.Builder |
sortOrder(ListRulesRequest.SortOrder sortOrder)
The sort order to use, either ‘asc’ or ‘desc’.
|
ListRulesRequest.Builder |
timeCreated(Date timeCreated)
Time that the resource was created.
|
ListRulesRequest.Builder |
timeUpdated(Date timeUpdated)
Time that the resource was updated.
|
ListRulesRequest.Builder |
updatedById(String updatedById)
OCID of the user who updated the resource.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
body$
public ListRulesRequest.Builder catalogId(String catalogId)
Unique catalog identifier.
catalogId
- the value to setpublic ListRulesRequest.Builder dataAssetKey(String dataAssetKey)
Unique data asset key.
dataAssetKey
- the value to setpublic ListRulesRequest.Builder entityKey(String entityKey)
Unique entity key.
entityKey
- the value to setpublic ListRulesRequest.Builder displayName(String displayName)
A filter to return only resources that match the entire display name given. The match is not case sensitive.
displayName
- the value to setpublic ListRulesRequest.Builder displayNameContains(String displayNameContains)
A filter to return only resources that match display name pattern given. The match is not case sensitive. For Example : /folders?displayNameContains=Cu.* The above would match all folders with display name that starts with “Cu” or has the pattern “Cu” anywhere in between.
displayNameContains
- the value to setpublic ListRulesRequest.Builder ruleType(RuleType ruleType)
Rule type used to filter the response to a list rules call.
ruleType
- the value to setpublic ListRulesRequest.Builder lifecycleState(LifecycleState lifecycleState)
A filter to return only resources that match the specified lifecycle state. The value is case insensitive.
lifecycleState
- the value to setpublic ListRulesRequest.Builder originType(RuleOriginType originType)
Rule origin type used to filter the response to a list rules call.
originType
- the value to setpublic ListRulesRequest.Builder externalKey(String externalKey)
Unique external identifier of this resource in the external source system.
externalKey
- the value to setpublic ListRulesRequest.Builder timeCreated(Date timeCreated)
Time that the resource was created. An RFC3339 formatted datetime string.
timeCreated
- the value to setpublic ListRulesRequest.Builder timeUpdated(Date timeUpdated)
Time that the resource was updated. An RFC3339 formatted datetime string.
timeUpdated
- the value to setpublic ListRulesRequest.Builder createdById(String createdById)
OCID of the user who created the resource.
createdById
- the value to setpublic ListRulesRequest.Builder updatedById(String updatedById)
OCID of the user who updated the resource.
updatedById
- the value to setpublic ListRulesRequest.Builder fields(List<ListRulesRequest.Fields> fields)
Specifies the fields to return in a rule summary response.
fields
- the value to setpublic ListRulesRequest.Builder fields(ListRulesRequest.Fields singularValue)
Singular setter. Specifies the fields to return in a rule summary response.
singularValue
- the singular value to setpublic ListRulesRequest.Builder sortBy(ListRulesRequest.SortBy sortBy)
The field to sort by. Only one sort order may be provided. Default order for TIMECREATED is descending. Default order for DISPLAYNAME is ascending. If no value is specified TIMECREATED is default.
sortBy
- the value to setpublic ListRulesRequest.Builder sortOrder(ListRulesRequest.SortOrder sortOrder)
The sort order to use, either ‘asc’ or ‘desc’.
sortOrder
- the value to setpublic ListRulesRequest.Builder limit(Integer limit)
The maximum number of items to return.
limit
- the value to setpublic ListRulesRequest.Builder page(String page)
The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
page
- the value to setpublic ListRulesRequest.Builder opcRequestId(String opcRequestId)
The client request ID for tracing.
opcRequestId
- the value to setpublic ListRulesRequest.Builder invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.
invocationCallback
- the invocation callback to be set for the requestpublic ListRulesRequest.Builder retryConfiguration(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 BmcRequest.Builder<ListRulesRequest,Void>
o
- other request from which to copy valuespublic ListRulesRequest build()
Build the instance of ListRulesRequest as configured by this builder
Note that this method takes calls to invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)
into account,
while the method buildWithoutInvocationCallback()
does not.
This is the preferred method to build an instance.
build
in interface BmcRequest.Builder<ListRulesRequest,Void>
public ListRulesRequest buildWithoutInvocationCallback()
Build the instance of ListRulesRequest as configured by this builder
Note that this method does not take calls to invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)
into account,
while the method build()
does
Copyright © 2016–2025. All rights reserved.