Class GetDataRetrievalPolicyResult
- java.lang.Object
-
- com.amazonaws.services.glacier.model.GetDataRetrievalPolicyResult
-
- All Implemented Interfaces:
Serializable,Cloneable
public class GetDataRetrievalPolicyResult extends Object implements Serializable, Cloneable
Contains the Amazon Glacier response to the
GetDataRetrievalPolicyrequest.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description GetDataRetrievalPolicyResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GetDataRetrievalPolicyResultclone()booleanequals(Object obj)DataRetrievalPolicygetPolicy()Contains the returned data retrieval policy in JSON format.inthashCode()voidsetPolicy(DataRetrievalPolicy policy)Contains the returned data retrieval policy in JSON format.StringtoString()Returns a string representation of this object; useful for testing and debugging.GetDataRetrievalPolicyResultwithPolicy(DataRetrievalPolicy policy)Contains the returned data retrieval policy in JSON format.
-
-
-
Method Detail
-
setPolicy
public void setPolicy(DataRetrievalPolicy policy)
Contains the returned data retrieval policy in JSON format.
- Parameters:
policy- Contains the returned data retrieval policy in JSON format.
-
getPolicy
public DataRetrievalPolicy getPolicy()
Contains the returned data retrieval policy in JSON format.
- Returns:
- Contains the returned data retrieval policy in JSON format.
-
withPolicy
public GetDataRetrievalPolicyResult withPolicy(DataRetrievalPolicy policy)
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
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public GetDataRetrievalPolicyResult clone()
-
-