Class ListDelegationControlsRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.delegateaccesscontrol.requests.ListDelegationControlsRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<ListDelegationControlsRequest,Void>
- Enclosing class:
- ListDelegationControlsRequest
public static class ListDelegationControlsRequest.Builder extends Object implements BmcRequest.Builder<ListDelegationControlsRequest,Void>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListDelegationControlsRequest
build()
Build the instance of ListDelegationControlsRequest as configured by this builderListDelegationControlsRequest
buildWithoutInvocationCallback()
Build the instance of ListDelegationControlsRequest as configured by this builderListDelegationControlsRequest.Builder
compartmentId(String compartmentId)
The OCID of the compartment.ListDelegationControlsRequest.Builder
copy(ListDelegationControlsRequest o)
Copy method to populate the builder with values from the given instance.ListDelegationControlsRequest.Builder
displayName(String displayName)
A filter to return Delegation Control resources that match the given display name.ListDelegationControlsRequest.Builder
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.ListDelegationControlsRequest.Builder
lifecycleState(DelegationControl.LifecycleState lifecycleState)
A filter to return only Delegation Control resources whose lifecycleState matches the given Delegation Control lifecycle state.ListDelegationControlsRequest.Builder
limit(Integer limit)
The maximum number of items to return.ListDelegationControlsRequest.Builder
opcRequestId(String opcRequestId)
The client request ID for tracing.ListDelegationControlsRequest.Builder
page(String page)
The page token representing the page at which to start retrieving results.ListDelegationControlsRequest.Builder
resourceId(String resourceId)
A filter to return Delegation Control resources that match the given resource ID.ListDelegationControlsRequest.Builder
resourceType(DelegationControlResourceType resourceType)
A filter to return only resources that match the given resource type.ListDelegationControlsRequest.Builder
retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.ListDelegationControlsRequest.Builder
sortBy(ListDelegationControlsRequest.SortBy sortBy)
The field to sort by.ListDelegationControlsRequest.Builder
sortOrder(SortOrders sortOrder)
The sort order to use, either ‘asc’ or ‘desc’.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.oracle.bmc.requests.BmcRequest.Builder
body$
-
-
-
-
Method Detail
-
compartmentId
public ListDelegationControlsRequest.Builder compartmentId(String compartmentId)
The OCID of the compartment.- Parameters:
compartmentId
- the value to set- Returns:
- this builder instance
-
lifecycleState
public ListDelegationControlsRequest.Builder lifecycleState(DelegationControl.LifecycleState lifecycleState)
A filter to return only Delegation Control resources whose lifecycleState matches the given Delegation Control lifecycle state.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder instance
-
displayName
public ListDelegationControlsRequest.Builder displayName(String displayName)
A filter to return Delegation Control resources that match the given display name.- Parameters:
displayName
- the value to set- Returns:
- this builder instance
-
resourceType
public ListDelegationControlsRequest.Builder resourceType(DelegationControlResourceType resourceType)
A filter to return only resources that match the given resource type.- Parameters:
resourceType
- the value to set- Returns:
- this builder instance
-
resourceId
public ListDelegationControlsRequest.Builder resourceId(String resourceId)
A filter to return Delegation Control resources that match the given resource ID.- Parameters:
resourceId
- the value to set- Returns:
- this builder instance
-
limit
public ListDelegationControlsRequest.Builder limit(Integer limit)
The maximum number of items to return.- Parameters:
limit
- the value to set- Returns:
- this builder instance
-
page
public ListDelegationControlsRequest.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.
- Parameters:
page
- the value to set- Returns:
- this builder instance
-
sortOrder
public ListDelegationControlsRequest.Builder sortOrder(SortOrders sortOrder)
The sort order to use, either ‘asc’ or ‘desc’.- Parameters:
sortOrder
- the value to set- Returns:
- this builder instance
-
sortBy
public ListDelegationControlsRequest.Builder sortBy(ListDelegationControlsRequest.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, default is timeCreated.
- Parameters:
sortBy
- the value to set- Returns:
- this builder instance
-
opcRequestId
public ListDelegationControlsRequest.Builder opcRequestId(String opcRequestId)
The client request ID for tracing.- Parameters:
opcRequestId
- the value to set- Returns:
- this builder instance
-
invocationCallback
public ListDelegationControlsRequest.Builder invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.- Parameters:
invocationCallback
- the invocation callback to be set for the request- Returns:
- this builder instance
-
retryConfiguration
public ListDelegationControlsRequest.Builder retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.- Parameters:
retryConfiguration
- the retry configuration to be used for the request- Returns:
- this builder instance
-
copy
public ListDelegationControlsRequest.Builder copy(ListDelegationControlsRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copy
in interfaceBmcRequest.Builder<ListDelegationControlsRequest,Void>
- Parameters:
o
- other request from which to copy values- Returns:
- this builder instance
-
build
public ListDelegationControlsRequest build()
Build the instance of ListDelegationControlsRequest as configured by this builderNote that this method takes calls to
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)
into account, while the methodbuildWithoutInvocationCallback()
does not.This is the preferred method to build an instance.
- Specified by:
build
in interfaceBmcRequest.Builder<ListDelegationControlsRequest,Void>
- Returns:
- instance of ListDelegationControlsRequest
-
buildWithoutInvocationCallback
public ListDelegationControlsRequest buildWithoutInvocationCallback()
Build the instance of ListDelegationControlsRequest as configured by this builderNote that this method does not take calls to
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)
into account, while the methodbuild()
does- Returns:
- instance of ListDelegationControlsRequest
-
-