Package com.amazonaws.services.sqs.model
Class RemovePermissionRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.sqs.model.RemovePermissionRequest
-
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
public class RemovePermissionRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description RemovePermissionRequest()
Default constructor for RemovePermissionRequest object.RemovePermissionRequest(String queueUrl, String label)
Constructs a new RemovePermissionRequest object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RemovePermissionRequest
clone()
Creates a shallow clone of this request.boolean
equals(Object obj)
String
getLabel()
The identification of the permission to remove.String
getQueueUrl()
The URL of the Amazon SQS queue to take action on.int
hashCode()
void
setLabel(String label)
The identification of the permission to remove.void
setQueueUrl(String queueUrl)
The URL of the Amazon SQS queue to take action on.String
toString()
Returns a string representation of this object; useful for testing and debugging.RemovePermissionRequest
withLabel(String label)
The identification of the permission to remove.RemovePermissionRequest
withQueueUrl(String queueUrl)
The URL of the Amazon SQS queue to take action on.-
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 Detail
-
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
public RemovePermissionRequest(String queueUrl, String label)
Constructs a new RemovePermissionRequest object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.- Parameters:
queueUrl
- The URL of the Amazon SQS queue to take action on.Queue URLs are case-sensitive.
label
- The identification of the permission to remove. This is the label added with the AddPermission action.
-
-
Method Detail
-
setQueueUrl
public void setQueueUrl(String queueUrl)
The URL of the Amazon SQS queue to take action on.
Queue URLs are case-sensitive.
- Parameters:
queueUrl
- The URL of the Amazon SQS queue to take action on.Queue URLs are case-sensitive.
-
getQueueUrl
public String getQueueUrl()
The URL of the Amazon SQS queue to take action on.
Queue URLs are case-sensitive.
- Returns:
- The URL of the Amazon SQS queue to take action on.
Queue URLs are case-sensitive.
-
withQueueUrl
public RemovePermissionRequest withQueueUrl(String queueUrl)
The URL of the Amazon SQS queue to take action on.
Queue URLs are case-sensitive.
- Parameters:
queueUrl
- The URL of the Amazon SQS queue to take action on.Queue URLs are case-sensitive.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setLabel
public void setLabel(String label)
The identification of the permission to remove. This is the label added with the AddPermission action.
- Parameters:
label
- The identification of the permission to remove. This is the label added with the AddPermission action.
-
getLabel
public String getLabel()
The identification of the permission to remove. This is the label added with the AddPermission action.
- Returns:
- The identification of the permission to remove. This is the label added with the AddPermission action.
-
withLabel
public RemovePermissionRequest withLabel(String label)
The identification of the permission to remove. This is the label added with the AddPermission action.
- Parameters:
label
- The identification of the permission to remove. This is the label added with the AddPermission action.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public RemovePermissionRequest 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:
Object.clone()
-
-