Package com.oracle.bmc.dataflow.requests
Class ListPoolsRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.dataflow.requests.ListPoolsRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<ListPoolsRequest,Void>
- Enclosing class:
- ListPoolsRequest
public static class ListPoolsRequest.Builder extends Object implements BmcRequest.Builder<ListPoolsRequest,Void>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListPoolsRequestbuild()Build the instance of ListPoolsRequest as configured by this builderListPoolsRequestbuildWithoutInvocationCallback()Build the instance of ListPoolsRequest as configured by this builderListPoolsRequest.BuildercompartmentId(String compartmentId)The OCID of the compartment.ListPoolsRequest.Buildercopy(ListPoolsRequest o)Copy method to populate the builder with values from the given instance.ListPoolsRequest.BuilderdisplayName(String displayName)The query parameter for the Spark application name.ListPoolsRequest.BuilderdisplayNameStartsWith(String displayNameStartsWith)The displayName prefix.ListPoolsRequest.BuilderinvocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)Set the invocation callback for the request to be built.ListPoolsRequest.BuilderlifecycleState(PoolLifecycleState lifecycleState)The LifecycleState of the pool.ListPoolsRequest.Builderlimit(Integer limit)The maximum number of results to return in a paginated List call.ListPoolsRequest.BuilderopcRequestId(String opcRequestId)Unique identifier for the request.ListPoolsRequest.BuilderownerPrincipalId(String ownerPrincipalId)The OCID of the user who created the resource.ListPoolsRequest.Builderpage(String page)The value of the opc-next-page or opc-prev-page response header from the last List call to sent back to server for getting the next page of results.ListPoolsRequest.BuilderretryConfiguration(RetryConfiguration retryConfiguration)Set the retry configuration for the request to be built.ListPoolsRequest.BuildersortBy(ListPoolsRequest.SortBy sortBy)The field used to sort the results.ListPoolsRequest.BuildersortOrder(ListPoolsRequest.SortOrder sortOrder)The ordering of results in ascending or descending order.-
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 ListPoolsRequest.Builder compartmentId(String compartmentId)
The OCID of the compartment.- Parameters:
compartmentId- the value to set- Returns:
- this builder instance
-
opcRequestId
public ListPoolsRequest.Builder opcRequestId(String opcRequestId)
Unique identifier for the request.If provided, the returned request ID will include this value. Otherwise, a random request ID will be generated by the service.
- Parameters:
opcRequestId- the value to set- Returns:
- this builder instance
-
limit
public ListPoolsRequest.Builder limit(Integer limit)
The maximum number of results to return in a paginated List call.- Parameters:
limit- the value to set- Returns:
- this builder instance
-
page
public ListPoolsRequest.Builder page(String page)
The value of the opc-next-page or opc-prev-page response header from the last List call to sent back to server for getting the next page of results.- Parameters:
page- the value to set- Returns:
- this builder instance
-
lifecycleState
public ListPoolsRequest.Builder lifecycleState(PoolLifecycleState lifecycleState)
The LifecycleState of the pool.- Parameters:
lifecycleState- the value to set- Returns:
- this builder instance
-
sortBy
public ListPoolsRequest.Builder sortBy(ListPoolsRequest.SortBy sortBy)
The field used to sort the results.Multiple fields are not supported.
- Parameters:
sortBy- the value to set- Returns:
- this builder instance
-
sortOrder
public ListPoolsRequest.Builder sortOrder(ListPoolsRequest.SortOrder sortOrder)
The ordering of results in ascending or descending order.- Parameters:
sortOrder- the value to set- Returns:
- this builder instance
-
displayName
public ListPoolsRequest.Builder displayName(String displayName)
The query parameter for the Spark application name.- Parameters:
displayName- the value to set- Returns:
- this builder instance
-
ownerPrincipalId
public ListPoolsRequest.Builder ownerPrincipalId(String ownerPrincipalId)
The OCID of the user who created the resource.- Parameters:
ownerPrincipalId- the value to set- Returns:
- this builder instance
-
displayNameStartsWith
public ListPoolsRequest.Builder displayNameStartsWith(String displayNameStartsWith)
The displayName prefix.- Parameters:
displayNameStartsWith- the value to set- Returns:
- this builder instance
-
invocationCallback
public ListPoolsRequest.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 ListPoolsRequest.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 ListPoolsRequest.Builder copy(ListPoolsRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copyin interfaceBmcRequest.Builder<ListPoolsRequest,Void>- Parameters:
o- other request from which to copy values- Returns:
- this builder instance
-
build
public ListPoolsRequest build()
Build the instance of ListPoolsRequest 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:
buildin interfaceBmcRequest.Builder<ListPoolsRequest,Void>- Returns:
- instance of ListPoolsRequest
-
buildWithoutInvocationCallback
public ListPoolsRequest buildWithoutInvocationCallback()
Build the instance of ListPoolsRequest 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 ListPoolsRequest
-
-