|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.sqs.model.RemovePermissionRequest
public class RemovePermissionRequest
Container for the parameters to the RemovePermission operation
.
The RemovePermission
action revokes any permissions in
the queue policy that matches the specified Label
parameter. Only the owner of the queue can remove permissions.
AmazonSQS.removePermission(RemovePermissionRequest)
Constructor Summary | |
---|---|
RemovePermissionRequest()
Default constructor for a new RemovePermissionRequest object. |
|
RemovePermissionRequest(java.lang.String queueUrl,
java.lang.String label)
Constructs a new RemovePermissionRequest object. |
Method Summary | |
---|---|
java.lang.String |
getLabel()
The identfication of the permission to remove. |
java.lang.String |
getQueueUrl()
The URL of the SQS queue to take action on. |
void |
setLabel(java.lang.String label)
The identfication of the permission to remove. |
void |
setQueueUrl(java.lang.String queueUrl)
The URL of the SQS queue to take action on. |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
RemovePermissionRequest |
withLabel(java.lang.String label)
The identfication of the permission to remove. |
RemovePermissionRequest |
withQueueUrl(java.lang.String queueUrl)
The URL of the SQS queue to take action on. |
Methods inherited from class com.amazonaws.AmazonWebServiceRequest |
---|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public RemovePermissionRequest()
public RemovePermissionRequest(java.lang.String queueUrl, java.lang.String label)
queueUrl
- The URL of the SQS queue to take action on.label
- The identfication of the permission to remove. This is
the label added with the AddPermission operation.Method Detail |
---|
public java.lang.String getQueueUrl()
public void setQueueUrl(java.lang.String queueUrl)
queueUrl
- The URL of the SQS queue to take action on.public RemovePermissionRequest withQueueUrl(java.lang.String queueUrl)
Returns a reference to this object so that method calls can be chained together.
queueUrl
- The URL of the SQS queue to take action on.
public java.lang.String getLabel()
public void setLabel(java.lang.String label)
label
- The identfication of the permission to remove. This is the label added
with the AddPermission operation.public RemovePermissionRequest withLabel(java.lang.String label)
Returns a reference to this object so that method calls can be chained together.
label
- The identfication of the permission to remove. This is the label added
with the AddPermission operation.
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |