public class RemovePermissionRequest extends AmazonWebServiceRequest implements java.io.Serializable
RemovePermission operation.
The RemovePermission action removes a statement from a topic's access control policy.
| コンストラクタと説明 |
|---|
RemovePermissionRequest()
Default constructor for a new RemovePermissionRequest object.
|
RemovePermissionRequest(java.lang.String topicArn,
java.lang.String label)
Constructs a new RemovePermissionRequest object.
|
| 修飾子とタイプ | メソッドと説明 |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getLabel()
The unique label of the statement you want to remove.
|
java.lang.String |
getTopicArn()
The ARN of the topic whose access control policy you wish to modify.
|
int |
hashCode() |
void |
setLabel(java.lang.String label)
The unique label of the statement you want to remove.
|
void |
setTopicArn(java.lang.String topicArn)
The ARN of the topic whose access control policy you wish to modify.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
RemovePermissionRequest |
withLabel(java.lang.String label)
The unique label of the statement you want to remove.
|
RemovePermissionRequest |
withTopicArn(java.lang.String topicArn)
The ARN of the topic whose access control policy you wish to modify.
|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentialspublic RemovePermissionRequest()
public RemovePermissionRequest(java.lang.String topicArn,
java.lang.String label)
topicArn - The ARN of the topic whose access control policy you
wish to modify.label - The unique label of the statement you want to remove.public java.lang.String getTopicArn()
public void setTopicArn(java.lang.String topicArn)
topicArn - The ARN of the topic whose access control policy you wish to modify.public RemovePermissionRequest withTopicArn(java.lang.String topicArn)
Returns a reference to this object so that method calls can be chained together.
topicArn - The ARN of the topic whose access control policy you wish to modify.public java.lang.String getLabel()
public void setLabel(java.lang.String label)
label - The unique label of the statement you want to remove.public RemovePermissionRequest withLabel(java.lang.String label)
Returns a reference to this object so that method calls can be chained together.
label - The unique label of the statement you want to remove.public java.lang.String toString()
toString クラス内 java.lang.ObjectObject.toString()public int hashCode()
hashCode クラス内 java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals クラス内 java.lang.Object