@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PutPolicyResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
PutPolicyResult() |
Modifier and Type | Method and Description |
---|---|
PutPolicyResult |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The Entity Resolution resource ARN.
|
String |
getPolicy()
The resource-based policy.
|
String |
getToken()
A unique identifier for the current revision of the policy.
|
int |
hashCode() |
void |
setArn(String arn)
The Entity Resolution resource ARN.
|
void |
setPolicy(String policy)
The resource-based policy.
|
void |
setToken(String token)
A unique identifier for the current revision of the policy.
|
String |
toString()
Returns a string representation of this object.
|
PutPolicyResult |
withArn(String arn)
The Entity Resolution resource ARN.
|
PutPolicyResult |
withPolicy(String policy)
The resource-based policy.
|
PutPolicyResult |
withToken(String token)
A unique identifier for the current revision of the policy.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setArn(String arn)
The Entity Resolution resource ARN.
arn
- The Entity Resolution resource ARN.public String getArn()
The Entity Resolution resource ARN.
public PutPolicyResult withArn(String arn)
The Entity Resolution resource ARN.
arn
- The Entity Resolution resource ARN.public void setPolicy(String policy)
The resource-based policy.
policy
- The resource-based policy.public String getPolicy()
The resource-based policy.
public PutPolicyResult withPolicy(String policy)
The resource-based policy.
policy
- The resource-based policy.public void setToken(String token)
A unique identifier for the current revision of the policy.
token
- A unique identifier for the current revision of the policy.public String getToken()
A unique identifier for the current revision of the policy.
public PutPolicyResult withToken(String token)
A unique identifier for the current revision of the policy.
token
- A unique identifier for the current revision of the policy.public String toString()
toString
in class Object
Object.toString()
public PutPolicyResult clone()