@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 |
getRevisionId()
A unique string that represents the revision ID of the policy.
|
int |
hashCode() |
void |
setRevisionId(String revisionId)
A unique string that represents the revision ID of the policy.
|
String |
toString()
Returns a string representation of this object.
|
PutResourcePolicyResult |
withRevisionId(String revisionId)
A unique string that represents the revision ID of the policy.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setRevisionId(String revisionId)
A unique string that represents the revision ID of the policy. If you are comparing revision IDs, make sure to always use string comparison logic.
revisionId
- A unique string that represents the revision ID of the policy. If you are comparing revision IDs, make
sure to always use string comparison logic.public String getRevisionId()
A unique string that represents the revision ID of the policy. If you are comparing revision IDs, make sure to always use string comparison logic.
public PutResourcePolicyResult withRevisionId(String revisionId)
A unique string that represents the revision ID of the policy. If you are comparing revision IDs, make sure to always use string comparison logic.
revisionId
- A unique string that represents the revision ID of the policy. If you are comparing revision IDs, make
sure to always use string comparison logic.public String toString()
toString
in class Object
Object.toString()
public PutResourcePolicyResult clone()
Copyright © 2024. All rights reserved.