Class GetBucketResponse
- java.lang.Object
-
- com.oracle.bmc.responses.BmcResponse
-
- com.oracle.bmc.objectstorage.responses.GetBucketResponse
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20160918") public class GetBucketResponse extends BmcResponse
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classGetBucketResponse.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GetBucketResponse.Builderbuilder()Return a new builder for this response object.booleanequals(Object o)BucketgetBucket()The returned Bucket instance, or null ifisNotModified()is true.StringgetETag()The current entity tag (ETag) for the bucket.StringgetOpcClientRequestId()Echoes back the value passed in the opc-client-request-id header, for use by clients when debugging.StringgetOpcRequestId()Unique Oracle-assigned identifier for the request.inthashCode()booleanisNotModified()Flag to indicate whether or not the object was modified.StringtoString()-
Methods inherited from class com.oracle.bmc.responses.BmcResponse
canEqual, get__httpStatusCode__, getHeaders
-
-
-
-
Method Detail
-
getOpcClientRequestId
public String getOpcClientRequestId()
Echoes back the value passed in the opc-client-request-id header, for use by clients when debugging.- Returns:
- the value
-
getOpcRequestId
public String getOpcRequestId()
Unique Oracle-assigned identifier for the request.If you need to contact Oracle about a particular request, provide this request ID.
- Returns:
- the value
-
getETag
public String getETag()
The current entity tag (ETag) for the bucket.- Returns:
- the value
-
getBucket
public Bucket getBucket()
The returned Bucket instance, or null ifisNotModified()is true.- Returns:
- the value
-
isNotModified
public 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’).
- Parameters:
true- if the object was not modified
-
builder
public static GetBucketResponse.Builder builder()
Return a new builder for this response object.- Returns:
- builder for the response object
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classBmcResponse
-
hashCode
public int hashCode()
- Overrides:
hashCodein classBmcResponse
-
-