Class HeadBucketResponse.Builder
- java.lang.Object
-
- com.oracle.bmc.objectstorage.responses.HeadBucketResponse.Builder
-
- All Implemented Interfaces:
BmcResponse.Builder<HeadBucketResponse>
- Enclosing class:
- HeadBucketResponse
public static class HeadBucketResponse.Builder extends Object implements BmcResponse.Builder<HeadBucketResponse>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description HeadBucketResponse.Builder__httpStatusCode__(int __httpStatusCode__)HeadBucketResponsebuild()Build the response object.HeadBucketResponse.Buildercopy(HeadBucketResponse o)Copy method to populate the builder with values from the given instance.HeadBucketResponse.BuildereTag(String eTag)The current entity tag (ETag) for the bucket.HeadBucketResponse.Builderheaders(Map<String,List<String>> headers)HeadBucketResponse.BuilderisNotModified(boolean isNotModified)Flag to indicate whether or not the object was modified.HeadBucketResponse.BuilderopcClientRequestId(String opcClientRequestId)Echoes back the value passed in the opc-client-request-id header, for use by clients when debugging.HeadBucketResponse.BuilderopcRequestId(String opcRequestId)Unique Oracle-assigned identifier for the request.
-
-
-
Method Detail
-
__httpStatusCode__
public HeadBucketResponse.Builder __httpStatusCode__(int __httpStatusCode__)
- Specified by:
__httpStatusCode__in interfaceBmcResponse.Builder<HeadBucketResponse>
-
headers
public HeadBucketResponse.Builder headers(Map<String,List<String>> headers)
- Specified by:
headersin interfaceBmcResponse.Builder<HeadBucketResponse>
-
opcClientRequestId
public HeadBucketResponse.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 HeadBucketResponse.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 HeadBucketResponse.Builder eTag(String eTag)
The current entity tag (ETag) for the bucket.- Parameters:
eTag- the value to set- Returns:
- this builder
-
isNotModified
public HeadBucketResponse.Builder isNotModified(boolean isNotModified)
Flag to indicate whether or not the object was modified.If this is true, the getter for the object itself will return null. Callers should check this if they specified one of the request params that might result in a conditional response (like ‘if-match’/‘if-none-match’).
- Specified by:
isNotModifiedin interfaceBmcResponse.Builder<HeadBucketResponse>- Parameters:
true- if the object was not modified
-
copy
public HeadBucketResponse.Builder copy(HeadBucketResponse o)
Copy method to populate the builder with values from the given instance.- Specified by:
copyin interfaceBmcResponse.Builder<HeadBucketResponse>- Parameters:
o- other request from which to copy values- Returns:
- this builder instance
-
build
public HeadBucketResponse build()
Build the response object.- Specified by:
buildin interfaceBmcResponse.Builder<HeadBucketResponse>- Returns:
- the response object
-
-