|
Did this page help you?Yes No Tell us about it... |
||||||
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.AddPermissionRequest
public class AddPermissionRequest
Container for the parameters to the AddPermission operation
.
AmazonSQS.addPermission(AddPermissionRequest)
,
Serialized FormConstructor Summary | |
---|---|
AddPermissionRequest()
Default constructor for a new AddPermissionRequest object. |
|
AddPermissionRequest(String queueUrl,
String label,
List<String> aWSAccountIds,
List<String> actions)
Constructs a new AddPermissionRequest object. |
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
List<String> |
getActions()
Returns the value of the Actions property for this object. |
List<String> |
getAWSAccountIds()
Returns the value of the AWSAccountIds property for this object. |
String |
getLabel()
Returns the value of the Label property for this object. |
String |
getQueueUrl()
Returns the value of the QueueUrl property for this object. |
int |
hashCode()
|
void |
setActions(Collection<String> actions)
Sets the value of the Actions property for this object. |
void |
setAWSAccountIds(Collection<String> aWSAccountIds)
Sets the value of the AWSAccountIds property for this object. |
void |
setLabel(String label)
Sets the value of the Label property for this object. |
void |
setQueueUrl(String queueUrl)
Sets the value of the QueueUrl property for this object. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
AddPermissionRequest |
withActions(Collection<String> actions)
Sets the value of the Actions property for this object. |
AddPermissionRequest |
withActions(String... actions)
Sets the value of the Actions property for this object. |
AddPermissionRequest |
withAWSAccountIds(Collection<String> aWSAccountIds)
Sets the value of the AWSAccountIds property for this object. |
AddPermissionRequest |
withAWSAccountIds(String... aWSAccountIds)
Sets the value of the AWSAccountIds property for this object. |
AddPermissionRequest |
withLabel(String label)
Sets the value of the Label property for this object. |
AddPermissionRequest |
withQueueUrl(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 |
---|
public AddPermissionRequest()
public AddPermissionRequest(String queueUrl, String label, List<String> aWSAccountIds, List<String> actions)
queueUrl
- label
- aWSAccountIds
- actions
- Method Detail |
---|
public String getQueueUrl()
public void setQueueUrl(String queueUrl)
queueUrl
- The new value for the QueueUrl property for this object.public AddPermissionRequest withQueueUrl(String queueUrl)
Returns a reference to this object so that method calls can be chained together.
queueUrl
- The new value for the QueueUrl property for this object.public String getLabel()
public void setLabel(String label)
label
- The new value for the Label property for this object.public AddPermissionRequest withLabel(String label)
Returns a reference to this object so that method calls can be chained together.
label
- The new value for the Label property for this object.public List<String> getAWSAccountIds()
public void setAWSAccountIds(Collection<String> aWSAccountIds)
aWSAccountIds
- The new value for the AWSAccountIds property for this object.public AddPermissionRequest withAWSAccountIds(String... aWSAccountIds)
Returns a reference to this object so that method calls can be chained together.
aWSAccountIds
- The new value for the AWSAccountIds property for this object.public AddPermissionRequest withAWSAccountIds(Collection<String> aWSAccountIds)
Returns a reference to this object so that method calls can be chained together.
aWSAccountIds
- The new value for the AWSAccountIds property for this object.public List<String> getActions()
public void setActions(Collection<String> actions)
actions
- The new value for the Actions property for this object.public AddPermissionRequest withActions(String... actions)
Returns a reference to this object so that method calls can be chained together.
actions
- The new value for the Actions property for this object.public AddPermissionRequest withActions(Collection<String> actions)
Returns a reference to this object so that method calls can be chained together.
actions
- The new value for the Actions property for this object.public String toString()
toString
in class Object
Object.toString()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |