Class CreateBucketResponse.Builder
- java.lang.Object
-
- com.oracle.bmc.objectstorage.responses.CreateBucketResponse.Builder
-
- All Implemented Interfaces:
BmcResponse.Builder<CreateBucketResponse>
- Enclosing class:
- CreateBucketResponse
public static class CreateBucketResponse.Builder extends Object implements BmcResponse.Builder<CreateBucketResponse>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateBucketResponse.Builder__httpStatusCode__(int __httpStatusCode__)CreateBucketResponse.Builderbucket(Bucket bucket)The returned Bucket instance.CreateBucketResponsebuild()Build the response object.CreateBucketResponse.Buildercopy(CreateBucketResponse o)Copy method to populate the builder with values from the given instance.CreateBucketResponse.BuildereTag(String eTag)The entity tag (ETag) for the bucket that was created.CreateBucketResponse.Builderheaders(Map<String,List<String>> headers)CreateBucketResponse.Builderlocation(String location)The full path to the bucket that was created.CreateBucketResponse.BuilderopcClientRequestId(String opcClientRequestId)Echoes back the value passed in the opc-client-request-id header, for use by clients when debugging.CreateBucketResponse.BuilderopcRequestId(String opcRequestId)Unique Oracle-assigned identifier for the request.-
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.responses.BmcResponse.Builder
isNotModified
-
-
-
-
Method Detail
-
__httpStatusCode__
public CreateBucketResponse.Builder __httpStatusCode__(int __httpStatusCode__)
- Specified by:
__httpStatusCode__in interfaceBmcResponse.Builder<CreateBucketResponse>
-
headers
public CreateBucketResponse.Builder headers(Map<String,List<String>> headers)
- Specified by:
headersin interfaceBmcResponse.Builder<CreateBucketResponse>
-
opcClientRequestId
public CreateBucketResponse.Builder opcClientRequestId(String opcClientRequestId)
Echoes back the value passed in the opc-client-request-id header, for use by clients when debugging.- Parameters:
opcClientRequestId- the value to set- Returns:
- this builder
-
opcRequestId
public CreateBucketResponse.Builder opcRequestId(String opcRequestId)
Unique Oracle-assigned identifier for the request.If you need to contact Oracle about a particular request, provide this request ID.
- Parameters:
opcRequestId- the value to set- Returns:
- this builder
-
eTag
public CreateBucketResponse.Builder eTag(String eTag)
The entity tag (ETag) for the bucket that was created.- Parameters:
eTag- the value to set- Returns:
- this builder
-
location
public CreateBucketResponse.Builder location(String location)
The full path to the bucket that was created.- Parameters:
location- the value to set- Returns:
- this builder
-
bucket
public CreateBucketResponse.Builder bucket(Bucket bucket)
The returned Bucket instance.- Parameters:
bucket- the value to set- Returns:
- this builder
-
copy
public CreateBucketResponse.Builder copy(CreateBucketResponse o)
Copy method to populate the builder with values from the given instance.- Specified by:
copyin interfaceBmcResponse.Builder<CreateBucketResponse>- Parameters:
o- other request from which to copy values- Returns:
- this builder instance
-
build
public CreateBucketResponse build()
Build the response object.- Specified by:
buildin interfaceBmcResponse.Builder<CreateBucketResponse>- Returns:
- the response object
-
-