@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeResourcePolicyResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
DescribeResourcePolicyResult() |
Modifier and Type | Method and Description |
---|---|
DescribeResourcePolicyResult |
clone() |
boolean |
equals(Object obj) |
Date |
getCreationTime()
The time when the resource policy was created.
|
Date |
getLastModifiedTime()
The time when the resource policy was last modified.
|
String |
getPolicyRevisionId()
A unique identifier for a revision of the resource policy.
|
String |
getResourcePolicy()
The resource policy in a JSON-formatted string.
|
int |
hashCode() |
void |
setCreationTime(Date creationTime)
The time when the resource policy was created.
|
void |
setLastModifiedTime(Date lastModifiedTime)
The time when the resource policy was last modified.
|
void |
setPolicyRevisionId(String policyRevisionId)
A unique identifier for a revision of the resource policy.
|
void |
setResourcePolicy(String resourcePolicy)
The resource policy in a JSON-formatted string.
|
String |
toString()
Returns a string representation of this object.
|
DescribeResourcePolicyResult |
withCreationTime(Date creationTime)
The time when the resource policy was created.
|
DescribeResourcePolicyResult |
withLastModifiedTime(Date lastModifiedTime)
The time when the resource policy was last modified.
|
DescribeResourcePolicyResult |
withPolicyRevisionId(String policyRevisionId)
A unique identifier for a revision of the resource policy.
|
DescribeResourcePolicyResult |
withResourcePolicy(String resourcePolicy)
The resource policy in a JSON-formatted string.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setPolicyRevisionId(String policyRevisionId)
A unique identifier for a revision of the resource policy.
policyRevisionId
- A unique identifier for a revision of the resource policy.public String getPolicyRevisionId()
A unique identifier for a revision of the resource policy.
public DescribeResourcePolicyResult withPolicyRevisionId(String policyRevisionId)
A unique identifier for a revision of the resource policy.
policyRevisionId
- A unique identifier for a revision of the resource policy.public void setResourcePolicy(String resourcePolicy)
The resource policy in a JSON-formatted string.
resourcePolicy
- The resource policy in a JSON-formatted string.public String getResourcePolicy()
The resource policy in a JSON-formatted string.
public DescribeResourcePolicyResult withResourcePolicy(String resourcePolicy)
The resource policy in a JSON-formatted string.
resourcePolicy
- The resource policy in a JSON-formatted string.public void setCreationTime(Date creationTime)
The time when the resource policy was created.
creationTime
- The time when the resource policy was created.public Date getCreationTime()
The time when the resource policy was created.
public DescribeResourcePolicyResult withCreationTime(Date creationTime)
The time when the resource policy was created.
creationTime
- The time when the resource policy was created.public void setLastModifiedTime(Date lastModifiedTime)
The time when the resource policy was last modified.
lastModifiedTime
- The time when the resource policy was last modified.public Date getLastModifiedTime()
The time when the resource policy was last modified.
public DescribeResourcePolicyResult withLastModifiedTime(Date lastModifiedTime)
The time when the resource policy was last modified.
lastModifiedTime
- The time when the resource policy was last modified.public String toString()
toString
in class Object
Object.toString()
public DescribeResourcePolicyResult clone()