Class HeadBucketResponse
- java.lang.Object
-
- com.oracle.bmc.responses.BmcResponse
-
- com.oracle.bmc.objectstorage.responses.HeadBucketResponse
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20160918") public class HeadBucketResponse extends BmcResponse
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
HeadBucketResponse.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static HeadBucketResponse.Builder
builder()
Return a new builder for this response object.boolean
equals(Object o)
String
getETag()
The current entity tag (ETag) for the bucket.String
getOpcClientRequestId()
Echoes back the value passed in the opc-client-request-id header, for use by clients when debugging.String
getOpcRequestId()
Unique Oracle-assigned identifier for the request.int
hashCode()
boolean
isNotModified()
Flag to indicate whether or not the object was modified.String
toString()
-
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
-
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 HeadBucketResponse.Builder builder()
Return a new builder for this response object.- Returns:
- builder for the response object
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classBmcResponse
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classBmcResponse
-
-