Package com.oracle.bmc.dataflow.requests
Class CreatePoolRequest.Builder
- java.lang.Object
- 
- com.oracle.bmc.dataflow.requests.CreatePoolRequest.Builder
 
- 
- All Implemented Interfaces:
- BmcRequest.Builder<CreatePoolRequest,CreatePoolDetails>
 - Enclosing class:
- CreatePoolRequest
 
 public static class CreatePoolRequest.Builder extends Object implements BmcRequest.Builder<CreatePoolRequest,CreatePoolDetails> 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description CreatePoolRequest.Builderbody$(CreatePoolDetails body)Alternative setter for the body parameter.CreatePoolRequestbuild()Build the instance of CreatePoolRequest as configured by this builderCreatePoolRequestbuildWithoutInvocationCallback()Build the instance of CreatePoolRequest as configured by this builderCreatePoolRequest.Buildercopy(CreatePoolRequest o)Copy method to populate the builder with values from the given instance.CreatePoolRequest.BuildercreatePoolDetails(CreatePoolDetails createPoolDetails)The parameter required to create a pool.CreatePoolRequest.BuilderinvocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)Set the invocation callback for the request to be built.CreatePoolRequest.BuilderopcRequestId(String opcRequestId)Unique identifier for the request.CreatePoolRequest.BuilderopcRetryToken(String opcRetryToken)A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again.CreatePoolRequest.BuilderretryConfiguration(RetryConfiguration retryConfiguration)Set the retry configuration for the request to be built.
 
- 
- 
- 
Method Detail- 
createPoolDetailspublic CreatePoolRequest.Builder createPoolDetails(CreatePoolDetails createPoolDetails) The parameter required to create a pool.- Parameters:
- createPoolDetails- the value to set
- Returns:
- this builder instance
 
 - 
opcRetryTokenpublic CreatePoolRequest.Builder opcRetryToken(String opcRetryToken) A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again.Retry tokens expire after 24 hours, but can be invalidated before then due to conflicting operations. For example, if a resource has been deleted and purged from the system, then a retry of the original creation request may be rejected. - Parameters:
- opcRetryToken- the value to set
- Returns:
- this builder instance
 
 - 
opcRequestIdpublic CreatePoolRequest.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
 
 - 
invocationCallbackpublic CreatePoolRequest.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
 
 - 
retryConfigurationpublic CreatePoolRequest.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
 
 - 
copypublic CreatePoolRequest.Builder copy(CreatePoolRequest o) Copy method to populate the builder with values from the given instance.- Specified by:
- copyin interface- BmcRequest.Builder<CreatePoolRequest,CreatePoolDetails>
- Parameters:
- o- other request from which to copy values
- Returns:
- this builder instance
 
 - 
buildpublic CreatePoolRequest build() Build the instance of CreatePoolRequest 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 interface- BmcRequest.Builder<CreatePoolRequest,CreatePoolDetails>
- Returns:
- instance of CreatePoolRequest
 
 - 
body$public CreatePoolRequest.Builder body$(CreatePoolDetails body) Alternative setter for the body parameter.- Specified by:
- body$in interface- BmcRequest.Builder<CreatePoolRequest,CreatePoolDetails>
- Parameters:
- body- the body parameter
- Returns:
- this builder instance
 
 - 
buildWithoutInvocationCallbackpublic CreatePoolRequest buildWithoutInvocationCallback() Build the instance of CreatePoolRequest 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 CreatePoolRequest
 
 
- 
 
-