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