Class ListServiceProviderActionsRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.delegateaccesscontrol.requests.ListServiceProviderActionsRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<ListServiceProviderActionsRequest,Void>
- Enclosing class:
- ListServiceProviderActionsRequest
public static class ListServiceProviderActionsRequest.Builder extends Object implements BmcRequest.Builder<ListServiceProviderActionsRequest,Void>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListServiceProviderActionsRequest
build()
Build the instance of ListServiceProviderActionsRequest as configured by this builderListServiceProviderActionsRequest
buildWithoutInvocationCallback()
Build the instance of ListServiceProviderActionsRequest as configured by this builderListServiceProviderActionsRequest.Builder
compartmentId(String compartmentId)
The OCID of the compartment.ListServiceProviderActionsRequest.Builder
copy(ListServiceProviderActionsRequest o)
Copy method to populate the builder with values from the given instance.ListServiceProviderActionsRequest.Builder
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.ListServiceProviderActionsRequest.Builder
lifecycleState(ServiceProviderAction.LifecycleState lifecycleState)
A filter to return only resources whose lifecycleState matches the given Service Provider Action lifecycleState.ListServiceProviderActionsRequest.Builder
limit(Integer limit)
The maximum number of items to return.ListServiceProviderActionsRequest.Builder
name(String name)
A filter to return only resources that match the entire name given.ListServiceProviderActionsRequest.Builder
opcRequestId(String opcRequestId)
The client request ID for tracing.ListServiceProviderActionsRequest.Builder
page(String page)
The page token representing the page at which to start retrieving results.ListServiceProviderActionsRequest.Builder
resourceType(DelegationControlResourceType resourceType)
A filter to return only resources that match the given resource type.ListServiceProviderActionsRequest.Builder
retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.ListServiceProviderActionsRequest.Builder
serviceProviderServiceType(ServiceProviderServiceType singularValue)
Singular setter.ListServiceProviderActionsRequest.Builder
serviceProviderServiceType(List<ServiceProviderServiceType> serviceProviderServiceType)
A filter to return only resources that match the given Service Provider service type.ListServiceProviderActionsRequest.Builder
sortBy(ListServiceProviderActionsRequest.SortBy sortBy)
The field to sort by.ListServiceProviderActionsRequest.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 ListServiceProviderActionsRequest.Builder compartmentId(String compartmentId)
The OCID of the compartment.- Parameters:
compartmentId
- the value to set- Returns:
- this builder instance
-
name
public ListServiceProviderActionsRequest.Builder name(String name)
A filter to return only resources that match the entire name given.- Parameters:
name
- the value to set- Returns:
- this builder instance
-
resourceType
public ListServiceProviderActionsRequest.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
-
serviceProviderServiceType
public ListServiceProviderActionsRequest.Builder serviceProviderServiceType(List<ServiceProviderServiceType> serviceProviderServiceType)
A filter to return only resources that match the given Service Provider service type.- Parameters:
serviceProviderServiceType
- the value to set- Returns:
- this builder instance
-
serviceProviderServiceType
public ListServiceProviderActionsRequest.Builder serviceProviderServiceType(ServiceProviderServiceType singularValue)
Singular setter.A filter to return only resources that match the given Service Provider service type.
- Parameters:
singularValue
- the singular value to set- Returns:
- this builder instance
-
lifecycleState
public ListServiceProviderActionsRequest.Builder lifecycleState(ServiceProviderAction.LifecycleState lifecycleState)
A filter to return only resources whose lifecycleState matches the given Service Provider Action lifecycleState.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder instance
-
limit
public ListServiceProviderActionsRequest.Builder limit(Integer limit)
The maximum number of items to return.- Parameters:
limit
- the value to set- Returns:
- this builder instance
-
page
public ListServiceProviderActionsRequest.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 ListServiceProviderActionsRequest.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 ListServiceProviderActionsRequest.Builder sortBy(ListServiceProviderActionsRequest.SortBy sortBy)
The field to sort by.Only one sort order may be provided. Default order for timeCreated is descending. Default order for name is ascending. If no value is specified, default is timeCreated.
- Parameters:
sortBy
- the value to set- Returns:
- this builder instance
-
opcRequestId
public ListServiceProviderActionsRequest.Builder opcRequestId(String opcRequestId)
The client request ID for tracing.- Parameters:
opcRequestId
- the value to set- Returns:
- this builder instance
-
invocationCallback
public ListServiceProviderActionsRequest.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 ListServiceProviderActionsRequest.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 ListServiceProviderActionsRequest.Builder copy(ListServiceProviderActionsRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copy
in interfaceBmcRequest.Builder<ListServiceProviderActionsRequest,Void>
- Parameters:
o
- other request from which to copy values- Returns:
- this builder instance
-
build
public ListServiceProviderActionsRequest build()
Build the instance of ListServiceProviderActionsRequest 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<ListServiceProviderActionsRequest,Void>
- Returns:
- instance of ListServiceProviderActionsRequest
-
buildWithoutInvocationCallback
public ListServiceProviderActionsRequest buildWithoutInvocationCallback()
Build the instance of ListServiceProviderActionsRequest 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 ListServiceProviderActionsRequest
-
-