Class GetDataRetrievalPolicyResult
java.lang.Object
com.amazonaws.services.glacier.model.GetDataRetrievalPolicyResult
- All Implemented Interfaces:
Serializable,Cloneable
Contains the Amazon Glacier response to the
GetDataRetrievalPolicy request.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()booleanContains the returned data retrieval policy in JSON format.inthashCode()voidsetPolicy(DataRetrievalPolicy policy) Contains the returned data retrieval policy in JSON format.toString()Returns a string representation of this object; useful for testing and debugging.withPolicy(DataRetrievalPolicy policy) Contains the returned data retrieval policy in JSON format.
-
Constructor Details
-
GetDataRetrievalPolicyResult
public GetDataRetrievalPolicyResult()
-
-
Method Details
-
setPolicy
Contains the returned data retrieval policy in JSON format.
- Parameters:
policy- Contains the returned data retrieval policy in JSON format.
-
getPolicy
Contains the returned data retrieval policy in JSON format.
- Returns:
- Contains the returned data retrieval policy in JSON format.
-
withPolicy
Contains the returned data retrieval policy in JSON format.
- Parameters:
policy- Contains the returned data retrieval policy in JSON format.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-