@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PutResourcePolicyResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description |
|---|
PutResourcePolicyResult() |
| Modifier and Type | Method and Description |
|---|---|
PutResourcePolicyResult |
clone() |
boolean |
equals(Object obj) |
String |
getPolicyRevisionId()
The revision ID of the policy.
|
int |
hashCode() |
void |
setPolicyRevisionId(String policyRevisionId)
The revision ID of the policy.
|
String |
toString()
Returns a string representation of this object.
|
PutResourcePolicyResult |
withPolicyRevisionId(String policyRevisionId)
The revision ID of the policy.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic void setPolicyRevisionId(String policyRevisionId)
The revision ID of the policy. Each time you modify a policy, Amazon Comprehend assigns a new revision ID, and it deletes the prior version of the policy.
policyRevisionId - The revision ID of the policy. Each time you modify a policy, Amazon Comprehend assigns a new revision ID,
and it deletes the prior version of the policy.public String getPolicyRevisionId()
The revision ID of the policy. Each time you modify a policy, Amazon Comprehend assigns a new revision ID, and it deletes the prior version of the policy.
public PutResourcePolicyResult withPolicyRevisionId(String policyRevisionId)
The revision ID of the policy. Each time you modify a policy, Amazon Comprehend assigns a new revision ID, and it deletes the prior version of the policy.
policyRevisionId - The revision ID of the policy. Each time you modify a policy, Amazon Comprehend assigns a new revision ID,
and it deletes the prior version of the policy.public String toString()
toString in class ObjectObject.toString()public PutResourcePolicyResult clone()