Class ListDelegationSubscriptionsRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.delegateaccesscontrol.requests.ListDelegationSubscriptionsRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<ListDelegationSubscriptionsRequest,Void>
- Enclosing class:
- ListDelegationSubscriptionsRequest
public static class ListDelegationSubscriptionsRequest.Builder extends Object implements BmcRequest.Builder<ListDelegationSubscriptionsRequest,Void>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListDelegationSubscriptionsRequest
build()
Build the instance of ListDelegationSubscriptionsRequest as configured by this builderListDelegationSubscriptionsRequest
buildWithoutInvocationCallback()
Build the instance of ListDelegationSubscriptionsRequest as configured by this builderListDelegationSubscriptionsRequest.Builder
compartmentId(String compartmentId)
The OCID of the compartment.ListDelegationSubscriptionsRequest.Builder
copy(ListDelegationSubscriptionsRequest o)
Copy method to populate the builder with values from the given instance.ListDelegationSubscriptionsRequest.Builder
displayName(String displayName)
A filter to return Delegation Subscription resources that match the given display name.ListDelegationSubscriptionsRequest.Builder
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.ListDelegationSubscriptionsRequest.Builder
lifecycleState(DelegationSubscription.LifecycleState lifecycleState)
A filter to return only Delegation Subscription resources whose lifecycleState matches the given Delegation Subscription lifecycle state.ListDelegationSubscriptionsRequest.Builder
limit(Integer limit)
The maximum number of items to return.ListDelegationSubscriptionsRequest.Builder
opcRequestId(String opcRequestId)
The client request ID for tracing.ListDelegationSubscriptionsRequest.Builder
page(String page)
The page token representing the page at which to start retrieving results.ListDelegationSubscriptionsRequest.Builder
retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.ListDelegationSubscriptionsRequest.Builder
sortBy(ListDelegationSubscriptionsRequest.SortBy sortBy)
The field to sort by.ListDelegationSubscriptionsRequest.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 ListDelegationSubscriptionsRequest.Builder compartmentId(String compartmentId)
The OCID of the compartment.- Parameters:
compartmentId
- the value to set- Returns:
- this builder instance
-
lifecycleState
public ListDelegationSubscriptionsRequest.Builder lifecycleState(DelegationSubscription.LifecycleState lifecycleState)
A filter to return only Delegation Subscription resources whose lifecycleState matches the given Delegation Subscription lifecycle state.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder instance
-
displayName
public ListDelegationSubscriptionsRequest.Builder displayName(String displayName)
A filter to return Delegation Subscription resources that match the given display name.- Parameters:
displayName
- the value to set- Returns:
- this builder instance
-
limit
public ListDelegationSubscriptionsRequest.Builder limit(Integer limit)
The maximum number of items to return.- Parameters:
limit
- the value to set- Returns:
- this builder instance
-
page
public ListDelegationSubscriptionsRequest.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 ListDelegationSubscriptionsRequest.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 ListDelegationSubscriptionsRequest.Builder sortBy(ListDelegationSubscriptionsRequest.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.
- Parameters:
sortBy
- the value to set- Returns:
- this builder instance
-
opcRequestId
public ListDelegationSubscriptionsRequest.Builder opcRequestId(String opcRequestId)
The client request ID for tracing.- Parameters:
opcRequestId
- the value to set- Returns:
- this builder instance
-
invocationCallback
public ListDelegationSubscriptionsRequest.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 ListDelegationSubscriptionsRequest.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 ListDelegationSubscriptionsRequest.Builder copy(ListDelegationSubscriptionsRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copy
in interfaceBmcRequest.Builder<ListDelegationSubscriptionsRequest,Void>
- Parameters:
o
- other request from which to copy values- Returns:
- this builder instance
-
build
public ListDelegationSubscriptionsRequest build()
Build the instance of ListDelegationSubscriptionsRequest 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<ListDelegationSubscriptionsRequest,Void>
- Returns:
- instance of ListDelegationSubscriptionsRequest
-
buildWithoutInvocationCallback
public ListDelegationSubscriptionsRequest buildWithoutInvocationCallback()
Build the instance of ListDelegationSubscriptionsRequest 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 ListDelegationSubscriptionsRequest
-
-