@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RemovePermissionRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Input for RemovePermission action.
NOOP
Constructor and Description |
---|
RemovePermissionRequest()
Default constructor for RemovePermissionRequest object.
|
RemovePermissionRequest(String topicArn,
String label)
Constructs a new RemovePermissionRequest object.
|
Modifier and Type | Method and Description |
---|---|
RemovePermissionRequest |
clone() |
boolean |
equals(Object obj) |
String |
getLabel()
The unique label of the statement you want to remove.
|
String |
getTopicArn()
The ARN of the topic whose access control policy you wish to modify.
|
int |
hashCode() |
void |
setLabel(String label)
The unique label of the statement you want to remove.
|
void |
setTopicArn(String topicArn)
The ARN of the topic whose access control policy you wish to modify.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
RemovePermissionRequest |
withLabel(String label)
The unique label of the statement you want to remove.
|
RemovePermissionRequest |
withTopicArn(String topicArn)
The ARN of the topic whose access control policy you wish to modify.
|
addHandlerContext, copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public RemovePermissionRequest()
public RemovePermissionRequest(String topicArn, 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(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 String getTopicArn()
The ARN of the topic whose access control policy you wish to modify.
public RemovePermissionRequest withTopicArn(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(String label)
The unique label of the statement you want to remove.
label
- The unique label of the statement you want to remove.public String getLabel()
The unique label of the statement you want to remove.
public RemovePermissionRequest withLabel(String label)
The unique label of the statement you want to remove.
label
- The unique label of the statement you want to remove.public String toString()
toString
in class Object
Object.toString()
public RemovePermissionRequest clone()
clone
in class AmazonWebServiceRequest
Copyright © 2018. All rights reserved.