Class CreateBucketRequest.Builder
- java.lang.Object
- 
- com.oracle.bmc.objectstorage.requests.CreateBucketRequest.Builder
 
- 
- All Implemented Interfaces:
- BmcRequest.Builder<CreateBucketRequest,CreateBucketDetails>
 - Enclosing class:
- CreateBucketRequest
 
 public static class CreateBucketRequest.Builder extends Object implements BmcRequest.Builder<CreateBucketRequest,CreateBucketDetails> 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateBucketRequest.Builderbody$(CreateBucketDetails body)Alternative setter for the body parameter.CreateBucketRequestbuild()Build the instance of CreateBucketRequest as configured by this builderCreateBucketRequestbuildWithoutInvocationCallback()Build the instance of CreateBucketRequest as configured by this builderCreateBucketRequest.Buildercopy(CreateBucketRequest o)Copy method to populate the builder with values from the given instance.CreateBucketRequest.BuildercreateBucketDetails(CreateBucketDetails createBucketDetails)Request object for creating a bucket.CreateBucketRequest.BuilderinvocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)Set the invocation callback for the request to be built.CreateBucketRequest.BuildernamespaceName(String namespaceName)The Object Storage namespace used for the request.CreateBucketRequest.BuilderopcClientRequestId(String opcClientRequestId)The client request ID for tracing.CreateBucketRequest.BuilderretryConfiguration(RetryConfiguration retryConfiguration)Set the retry configuration for the request to be built.
 
- 
- 
- 
Method Detail- 
namespaceNamepublic CreateBucketRequest.Builder namespaceName(String namespaceName) The Object Storage namespace used for the request.- Parameters:
- namespaceName- the value to set
- Returns:
- this builder instance
 
 - 
createBucketDetailspublic CreateBucketRequest.Builder createBucketDetails(CreateBucketDetails createBucketDetails) Request object for creating a bucket.- Parameters:
- createBucketDetails- the value to set
- Returns:
- this builder instance
 
 - 
opcClientRequestIdpublic CreateBucketRequest.Builder opcClientRequestId(String opcClientRequestId) The client request ID for tracing.- Parameters:
- opcClientRequestId- the value to set
- Returns:
- this builder instance
 
 - 
invocationCallbackpublic CreateBucketRequest.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 CreateBucketRequest.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 CreateBucketRequest.Builder copy(CreateBucketRequest o) Copy method to populate the builder with values from the given instance.- Specified by:
- copyin interface- BmcRequest.Builder<CreateBucketRequest,CreateBucketDetails>
- Parameters:
- o- other request from which to copy values
- Returns:
- this builder instance
 
 - 
buildpublic CreateBucketRequest build() Build the instance of CreateBucketRequest 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<CreateBucketRequest,CreateBucketDetails>
- Returns:
- instance of CreateBucketRequest
 
 - 
body$public CreateBucketRequest.Builder body$(CreateBucketDetails body) Alternative setter for the body parameter.- Specified by:
- body$in interface- BmcRequest.Builder<CreateBucketRequest,CreateBucketDetails>
- Parameters:
- body- the body parameter
- Returns:
- this builder instance
 
 - 
buildWithoutInvocationCallbackpublic CreateBucketRequest buildWithoutInvocationCallback() Build the instance of CreateBucketRequest 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 CreateBucketRequest
 
 
- 
 
-