Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.sqs.model
Class RemovePermissionRequest

java.lang.Object
  extended by com.amazonaws.AmazonWebServiceRequest
      extended by com.amazonaws.services.sqs.model.RemovePermissionRequest
All Implemented Interfaces:
java.io.Serializable

public class RemovePermissionRequest
extends AmazonWebServiceRequest
implements java.io.Serializable

Container for the parameters to the RemovePermission operation.

See Also:
AmazonSQS.removePermission(RemovePermissionRequest), Serialized Form

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
 boolean equals(java.lang.Object obj)
           
 java.lang.String getLabel()
          Returns the value of the Label property for this object.
 java.lang.String getQueueUrl()
          Returns the value of the QueueUrl property for this object.
 int hashCode()
           
 void setLabel(java.lang.String label)
          Sets the value of the Label property for this object.
 void setQueueUrl(java.lang.String queueUrl)
          Sets the value of the QueueUrl property for this object.
 java.lang.String toString()
          Returns a string representation of this object; useful for testing and debugging.
 RemovePermissionRequest withLabel(java.lang.String label)
          Sets the value of the Label property for this object.
 RemovePermissionRequest withQueueUrl(java.lang.String queueUrl)
          Sets the value of the QueueUrl property for this object.
 
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RemovePermissionRequest

public RemovePermissionRequest()
Default constructor for a new RemovePermissionRequest object. Callers should use the setter or fluent setter (with...) methods to initialize this object after creating it.


RemovePermissionRequest

public RemovePermissionRequest(java.lang.String queueUrl,
                               java.lang.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 -
label -
Method Detail

getQueueUrl

public java.lang.String getQueueUrl()
Returns the value of the QueueUrl property for this object.

Returns:
The value of the QueueUrl property for this object.

setQueueUrl

public void setQueueUrl(java.lang.String queueUrl)
Sets the value of the QueueUrl property for this object.

Parameters:
queueUrl - The new value for the QueueUrl property for this object.

withQueueUrl

public RemovePermissionRequest withQueueUrl(java.lang.String queueUrl)
Sets the value of the QueueUrl property for this object.

Returns a reference to this object so that method calls can be chained together.

Parameters:
queueUrl - The new value for the QueueUrl property for this object.
Returns:
A reference to this updated object so that method calls can be chained together.

getLabel

public java.lang.String getLabel()
Returns the value of the Label property for this object.

Returns:
The value of the Label property for this object.

setLabel

public void setLabel(java.lang.String label)
Sets the value of the Label property for this object.

Parameters:
label - The new value for the Label property for this object.

withLabel

public RemovePermissionRequest withLabel(java.lang.String label)
Sets the value of the Label property for this object.

Returns a reference to this object so that method calls can be chained together.

Parameters:
label - The new value for the Label property for this object.
Returns:
A reference to this updated object so that method calls can be chained together.

toString

public java.lang.String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class java.lang.Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.