@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetDataRetrievalPolicyResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Contains the Amazon S3 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.
|
GetDataRetrievalPolicyResult |
withPolicy(DataRetrievalPolicy policy)
Contains the returned data retrieval policy in JSON format.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
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()