@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RemovePermissionResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
The structure representing the removePermissionResponse.
Constructor and Description |
---|
RemovePermissionResult() |
Modifier and Type | Method and Description |
---|---|
RemovePermissionResult |
clone() |
boolean |
equals(Object obj) |
String |
getPolicy()
The resource-based policy.
|
String |
getRevisionId()
A unique identifier for the current revision of the policy.
|
int |
hashCode() |
void |
setPolicy(String policy)
The resource-based policy.
|
void |
setRevisionId(String revisionId)
A unique identifier for the current revision of the policy.
|
String |
toString()
Returns a string representation of this object.
|
RemovePermissionResult |
withPolicy(String policy)
The resource-based policy.
|
RemovePermissionResult |
withRevisionId(String revisionId)
A unique identifier for the current revision of the policy.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setPolicy(String policy)
The resource-based policy.
policy
- The resource-based policy.public String getPolicy()
The resource-based policy.
public RemovePermissionResult withPolicy(String policy)
The resource-based policy.
policy
- The resource-based policy.public void setRevisionId(String revisionId)
A unique identifier for the current revision of the policy.
revisionId
- A unique identifier for the current revision of the policy.public String getRevisionId()
A unique identifier for the current revision of the policy.
public RemovePermissionResult withRevisionId(String revisionId)
A unique identifier for the current revision of the policy.
revisionId
- A unique identifier for the current revision of the policy.public String toString()
toString
in class Object
Object.toString()
public RemovePermissionResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.