@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RemovePermissionRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
RemovePermissionRequest()
Default constructor for RemovePermissionRequest object.
|
RemovePermissionRequest(String queueUrl,
String label)
Constructs a new RemovePermissionRequest object.
|
| Modifier and Type | Method and Description |
|---|---|
RemovePermissionRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getLabel()
The identification of the permission to remove.
|
String |
getQueueUrl()
The URL of the Amazon SQS queue from which permissions are removed.
|
int |
hashCode() |
void |
setLabel(String label)
The identification of the permission to remove.
|
void |
setQueueUrl(String queueUrl)
The URL of the Amazon SQS queue from which permissions are removed.
|
String |
toString()
Returns a string representation of this object.
|
RemovePermissionRequest |
withLabel(String label)
The identification of the permission to remove.
|
RemovePermissionRequest |
withQueueUrl(String queueUrl)
The URL of the Amazon SQS queue from which permissions are removed.
|
addHandlerContext, 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, withSdkRequestTimeoutpublic RemovePermissionRequest()
public RemovePermissionRequest(String queueUrl, String label)
queueUrl - The URL of the Amazon SQS queue from which permissions are removed.
Queue URLs and names are case-sensitive.
label - The identification of the permission to remove. This is the label added using the
AddPermission action.public void setQueueUrl(String queueUrl)
The URL of the Amazon SQS queue from which permissions are removed.
Queue URLs and names are case-sensitive.
queueUrl - The URL of the Amazon SQS queue from which permissions are removed.
Queue URLs and names are case-sensitive.
public String getQueueUrl()
The URL of the Amazon SQS queue from which permissions are removed.
Queue URLs and names are case-sensitive.
Queue URLs and names are case-sensitive.
public RemovePermissionRequest withQueueUrl(String queueUrl)
The URL of the Amazon SQS queue from which permissions are removed.
Queue URLs and names are case-sensitive.
queueUrl - The URL of the Amazon SQS queue from which permissions are removed.
Queue URLs and names are case-sensitive.
public void setLabel(String label)
The identification of the permission to remove. This is the label added using the
AddPermission action.
label - The identification of the permission to remove. This is the label added using the
AddPermission action.public String getLabel()
The identification of the permission to remove. This is the label added using the
AddPermission action.
AddPermission action.public RemovePermissionRequest withLabel(String label)
The identification of the permission to remove. This is the label added using the
AddPermission action.
label - The identification of the permission to remove. This is the label added using the
AddPermission action.public String toString()
toString in class ObjectObject.toString()public RemovePermissionRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()