@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetResourcePolicyResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
GetResourcePolicyResult() |
Modifier and Type | Method and Description |
---|---|
GetResourcePolicyResult |
clone() |
boolean |
equals(Object obj) |
Date |
getCreateTime()
The date and time at which the policy was created.
|
String |
getPolicyHash()
Contains the hash value associated with this policy.
|
String |
getPolicyInJson()
Contains the requested policy document, in JSON format.
|
Date |
getUpdateTime()
The date and time at which the policy was last updated.
|
int |
hashCode() |
void |
setCreateTime(Date createTime)
The date and time at which the policy was created.
|
void |
setPolicyHash(String policyHash)
Contains the hash value associated with this policy.
|
void |
setPolicyInJson(String policyInJson)
Contains the requested policy document, in JSON format.
|
void |
setUpdateTime(Date updateTime)
The date and time at which the policy was last updated.
|
String |
toString()
Returns a string representation of this object.
|
GetResourcePolicyResult |
withCreateTime(Date createTime)
The date and time at which the policy was created.
|
GetResourcePolicyResult |
withPolicyHash(String policyHash)
Contains the hash value associated with this policy.
|
GetResourcePolicyResult |
withPolicyInJson(String policyInJson)
Contains the requested policy document, in JSON format.
|
GetResourcePolicyResult |
withUpdateTime(Date updateTime)
The date and time at which the policy was last updated.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setPolicyInJson(String policyInJson)
Contains the requested policy document, in JSON format.
policyInJson
- Contains the requested policy document, in JSON format.public String getPolicyInJson()
Contains the requested policy document, in JSON format.
public GetResourcePolicyResult withPolicyInJson(String policyInJson)
Contains the requested policy document, in JSON format.
policyInJson
- Contains the requested policy document, in JSON format.public void setPolicyHash(String policyHash)
Contains the hash value associated with this policy.
policyHash
- Contains the hash value associated with this policy.public String getPolicyHash()
Contains the hash value associated with this policy.
public GetResourcePolicyResult withPolicyHash(String policyHash)
Contains the hash value associated with this policy.
policyHash
- Contains the hash value associated with this policy.public void setCreateTime(Date createTime)
The date and time at which the policy was created.
createTime
- The date and time at which the policy was created.public Date getCreateTime()
The date and time at which the policy was created.
public GetResourcePolicyResult withCreateTime(Date createTime)
The date and time at which the policy was created.
createTime
- The date and time at which the policy was created.public void setUpdateTime(Date updateTime)
The date and time at which the policy was last updated.
updateTime
- The date and time at which the policy was last updated.public Date getUpdateTime()
The date and time at which the policy was last updated.
public GetResourcePolicyResult withUpdateTime(Date updateTime)
The date and time at which the policy was last updated.
updateTime
- The date and time at which the policy was last updated.public String toString()
toString
in class Object
Object.toString()
public GetResourcePolicyResult clone()