@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateResourcePolicyResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description |
|---|
CreateResourcePolicyResult() |
| Modifier and Type | Method and Description |
|---|---|
CreateResourcePolicyResult |
clone() |
boolean |
equals(Object obj) |
String |
getResourceArn()
The Amazon Resource Name (ARN) of the bot or bot alias that the resource policy was attached to.
|
String |
getRevisionId()
The current revision of the resource policy.
|
int |
hashCode() |
void |
setResourceArn(String resourceArn)
The Amazon Resource Name (ARN) of the bot or bot alias that the resource policy was attached to.
|
void |
setRevisionId(String revisionId)
The current revision of the resource policy.
|
String |
toString()
Returns a string representation of this object.
|
CreateResourcePolicyResult |
withResourceArn(String resourceArn)
The Amazon Resource Name (ARN) of the bot or bot alias that the resource policy was attached to.
|
CreateResourcePolicyResult |
withRevisionId(String revisionId)
The current revision of the resource policy.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic void setResourceArn(String resourceArn)
The Amazon Resource Name (ARN) of the bot or bot alias that the resource policy was attached to.
resourceArn - The Amazon Resource Name (ARN) of the bot or bot alias that the resource policy was attached to.public String getResourceArn()
The Amazon Resource Name (ARN) of the bot or bot alias that the resource policy was attached to.
public CreateResourcePolicyResult withResourceArn(String resourceArn)
The Amazon Resource Name (ARN) of the bot or bot alias that the resource policy was attached to.
resourceArn - The Amazon Resource Name (ARN) of the bot or bot alias that the resource policy was attached to.public void setRevisionId(String revisionId)
The current revision of the resource policy. Use the revision ID to make sure that you are updating the most current version of a resource policy when you add a policy statement to a resource, delete a resource, or update a resource.
revisionId - The current revision of the resource policy. Use the revision ID to make sure that you are updating the
most current version of a resource policy when you add a policy statement to a resource, delete a
resource, or update a resource.public String getRevisionId()
The current revision of the resource policy. Use the revision ID to make sure that you are updating the most current version of a resource policy when you add a policy statement to a resource, delete a resource, or update a resource.
public CreateResourcePolicyResult withRevisionId(String revisionId)
The current revision of the resource policy. Use the revision ID to make sure that you are updating the most current version of a resource policy when you add a policy statement to a resource, delete a resource, or update a resource.
revisionId - The current revision of the resource policy. Use the revision ID to make sure that you are updating the
most current version of a resource policy when you add a policy statement to a resource, delete a
resource, or update a resource.public String toString()
toString in class ObjectObject.toString()public CreateResourcePolicyResult clone()