@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateResourcePolicyStatementResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
CreateResourcePolicyStatementResult() |
Modifier and Type | Method and Description |
---|---|
CreateResourcePolicyStatementResult |
clone() |
boolean |
equals(Object obj) |
String |
getResourceArn()
The Amazon Resource Name (ARN) of the bot or bot alias that the resource policy is 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 is attached to.
|
void |
setRevisionId(String revisionId)
The current revision of the resource policy.
|
String |
toString()
Returns a string representation of this object.
|
CreateResourcePolicyStatementResult |
withResourceArn(String resourceArn)
The Amazon Resource Name (ARN) of the bot or bot alias that the resource policy is attached to.
|
CreateResourcePolicyStatementResult |
withRevisionId(String revisionId)
The current revision of the resource policy.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setResourceArn(String resourceArn)
The Amazon Resource Name (ARN) of the bot or bot alias that the resource policy is attached to.
resourceArn
- The Amazon Resource Name (ARN) of the bot or bot alias that the resource policy is attached to.public String getResourceArn()
The Amazon Resource Name (ARN) of the bot or bot alias that the resource policy is attached to.
public CreateResourcePolicyStatementResult withResourceArn(String resourceArn)
The Amazon Resource Name (ARN) of the bot or bot alias that the resource policy is attached to.
resourceArn
- The Amazon Resource Name (ARN) of the bot or bot alias that the resource policy is 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 CreateResourcePolicyStatementResult 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 Object
Object.toString()
public CreateResourcePolicyStatementResult clone()