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 ListPoolsRequest
build()
Build the instance of ListPoolsRequest as configured by this builderListPoolsRequest
buildWithoutInvocationCallback()
Build the instance of ListPoolsRequest as configured by this builderListPoolsRequest.Builder
compartmentId(String compartmentId)
The OCID of the compartment.ListPoolsRequest.Builder
copy(ListPoolsRequest o)
Copy method to populate the builder with values from the given instance.ListPoolsRequest.Builder
displayName(String displayName)
The query parameter for the Spark application name.ListPoolsRequest.Builder
displayNameStartsWith(String displayNameStartsWith)
The displayName prefix.ListPoolsRequest.Builder
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.ListPoolsRequest.Builder
lifecycleState(PoolLifecycleState lifecycleState)
The LifecycleState of the pool.ListPoolsRequest.Builder
limit(Integer limit)
The maximum number of results to return in a paginated List call.ListPoolsRequest.Builder
opcRequestId(String opcRequestId)
Unique identifier for the request.ListPoolsRequest.Builder
ownerPrincipalId(String ownerPrincipalId)
The OCID of the user who created the resource.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.ListPoolsRequest.Builder
retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.ListPoolsRequest.Builder
sortBy(ListPoolsRequest.SortBy sortBy)
The field used to sort the results.ListPoolsRequest.Builder
sortOrder(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:
copy
in 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:
build
in 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
-
-