public class RemovePermissionRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable
Input for RemovePermission action.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
label
The unique label of the statement you want to remove.
|
private java.lang.String |
topicArn
The ARN of the topic whose access control policy you wish to modify.
|
NOOP
Constructor and Description |
---|
RemovePermissionRequest()
Default constructor for RemovePermissionRequest object.
|
RemovePermissionRequest(java.lang.String topicArn,
java.lang.String label)
Constructs a new RemovePermissionRequest object.
|
Modifier and Type | Method and Description |
---|---|
RemovePermissionRequest |
clone()
Creates a shallow clone of this request.
|
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.
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
private java.lang.String topicArn
The ARN of the topic whose access control policy you wish to modify.
private java.lang.String label
The unique label of the statement you want to remove.
public 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 void setTopicArn(java.lang.String topicArn)
The ARN of the topic whose access control policy you wish to modify.
topicArn
- The ARN of the topic whose access control policy you wish to
modify.public java.lang.String getTopicArn()
The ARN of the topic whose access control policy you wish to modify.
public RemovePermissionRequest withTopicArn(java.lang.String topicArn)
The ARN of the topic whose access control policy you wish to modify.
topicArn
- The ARN of the topic whose access control policy you wish to
modify.public void setLabel(java.lang.String label)
The unique label of the statement you want to remove.
label
- The unique label of the statement you want to remove.public java.lang.String getLabel()
The unique label of the statement you want to remove.
public RemovePermissionRequest withLabel(java.lang.String label)
The unique label of the statement you want to remove.
label
- The unique label of the statement you want to remove.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public RemovePermissionRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()