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 void setPolicy(DataRetrievalPolicy policy)
Contains the returned data retrieval policy in JSON format.
policy
- Contains the returned data retrieval policy in JSON format.public DataRetrievalPolicy getPolicy()
Contains the returned data retrieval policy in JSON format.
public GetDataRetrievalPolicyResult withPolicy(DataRetrievalPolicy policy)
Contains the returned data retrieval policy in JSON format.
policy
- Contains the returned data retrieval policy in JSON format.public String toString()
toString
in class Object
Object.toString()
public GetDataRetrievalPolicyResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.