Package com.amazonaws.services.sns.model
Class RemovePermissionRequest
java.lang.Object
com.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.sns.model.RemovePermissionRequest
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
public class RemovePermissionRequest
extends AmazonWebServiceRequest
implements Serializable, Cloneable
Input for RemovePermission action.
- See Also:
-
Field Summary
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor for RemovePermissionRequest object.RemovePermissionRequest
(String topicArn, String label) Constructs a new RemovePermissionRequest object. -
Method Summary
Modifier and TypeMethodDescriptionclone()
Creates a shallow clone of this request.boolean
getLabel()
The unique label of the statement you want to remove.The ARN of the topic whose access control policy you wish to modify.int
hashCode()
void
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.toString()
Returns a string representation of this object; useful for testing and debugging.The unique label of the statement you want to remove.withTopicArn
(String topicArn) The ARN of the topic whose access control policy you wish to modify.Methods inherited from class com.amazonaws.AmazonWebServiceRequest
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
-
Constructor Details
-
RemovePermissionRequest
public RemovePermissionRequest()Default constructor for RemovePermissionRequest object. Callers should use the setter or fluent setter (with...) methods to initialize the object after creating it. -
RemovePermissionRequest
Constructs a new RemovePermissionRequest object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.- Parameters:
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.
-
-
Method Details
-
setTopicArn
The ARN of the topic whose access control policy you wish to modify.
- Parameters:
topicArn
- The ARN of the topic whose access control policy you wish to modify.
-
getTopicArn
The ARN of the topic whose access control policy you wish to modify.
- Returns:
- The ARN of the topic whose access control policy you wish to modify.
-
withTopicArn
The ARN of the topic whose access control policy you wish to modify.
- Parameters:
topicArn
- The ARN of the topic whose access control policy you wish to modify.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setLabel
The unique label of the statement you want to remove.
- Parameters:
label
- The unique label of the statement you want to remove.
-
getLabel
The unique label of the statement you want to remove.
- Returns:
- The unique label of the statement you want to remove.
-
withLabel
The unique label of the statement you want to remove.
- Parameters:
label
- The unique label of the statement you want to remove.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
Description copied from class:AmazonWebServiceRequest
Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clone
in classAmazonWebServiceRequest
- See Also:
-