public class GetDataRetrievalPolicyResult extends Object implements Serializable, Cloneable
Contains the Amazon Glacier response to the
GetDataRetrievalPolicy request.
| Constructor and Description |
|---|
GetDataRetrievalPolicyResult() |
| Modifier and Type | Method and Description |
|---|---|
GetDataRetrievalPolicyResult |
clone() |
boolean |
equals(Object obj) |
DataRetrievalPolicy |
getPolicy()
Contains the returned data retrieval policy in JSON format.
|
int |
hashCode() |
void |
setPolicy(DataRetrievalPolicy policy)
Contains the returned data retrieval policy in JSON format.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
GetDataRetrievalPolicyResult |
withPolicy(DataRetrievalPolicy policy)
Contains the returned data retrieval policy in JSON format.
|
public DataRetrievalPolicy getPolicy()
public void setPolicy(DataRetrievalPolicy policy)
policy - Contains the returned data retrieval policy in JSON format.public GetDataRetrievalPolicyResult withPolicy(DataRetrievalPolicy policy)
Returns a reference to this object so that method calls can be chained together.
policy - Contains the returned data retrieval policy in JSON format.public String toString()
toString in class ObjectObject.toString()public GetDataRetrievalPolicyResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.