public static class HeadBucketResponse.Builder extends Object implements BmcResponse.Builder<HeadBucketResponse>
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
HeadBucketResponse.Builder |
__httpStatusCode__(int __httpStatusCode__) |
HeadBucketResponse |
build()
Build the response object.
|
HeadBucketResponse.Builder |
copy(HeadBucketResponse o)
Copy method to populate the builder with values from the given instance.
|
HeadBucketResponse.Builder |
eTag(String eTag)
The current entity tag (ETag) for the bucket.
|
HeadBucketResponse.Builder |
headers(Map<String,List<String>> headers) |
HeadBucketResponse.Builder |
isNotModified(boolean isNotModified)
Flag to indicate whether or not the object was modified.
|
HeadBucketResponse.Builder |
opcClientRequestId(String opcClientRequestId)
Echoes back the value passed in the opc-client-request-id header, for use by clients when
debugging.
|
HeadBucketResponse.Builder |
opcRequestId(String opcRequestId)
Unique Oracle-assigned identifier for the request.
|
public HeadBucketResponse.Builder __httpStatusCode__(int __httpStatusCode__)
__httpStatusCode__
in interface BmcResponse.Builder<HeadBucketResponse>
public HeadBucketResponse.Builder headers(Map<String,List<String>> headers)
headers
in interface BmcResponse.Builder<HeadBucketResponse>
public HeadBucketResponse.Builder opcClientRequestId(String opcClientRequestId)
Echoes back the value passed in the opc-client-request-id header, for use by clients when debugging.
opcClientRequestId
- the value to setpublic 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.
opcRequestId
- the value to setpublic HeadBucketResponse.Builder eTag(String eTag)
The current entity tag (ETag) for the bucket.
eTag
- the value to setpublic 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’).
isNotModified
in interface BmcResponse.Builder<HeadBucketResponse>
true
- if the object was not modifiedpublic HeadBucketResponse.Builder copy(HeadBucketResponse o)
Copy method to populate the builder with values from the given instance.
copy
in interface BmcResponse.Builder<HeadBucketResponse>
o
- other request from which to copy valuespublic HeadBucketResponse build()
Build the response object.
build
in interface BmcResponse.Builder<HeadBucketResponse>
Copyright © 2016–2024. All rights reserved.