|
||||||||||
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
Constructor 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 and initializes the specified object members. |
Method Summary | |
---|---|
List<String> |
getActions()
The action the client wants to allow for the specified principal. |
List<String> |
getAWSAccountIds()
The AWS account number of the principal who will be given permission. |
String |
getLabel()
|
String |
getQueueUrl()
|
void |
setActions(Collection<String> actions)
The action the client wants to allow for the specified principal. |
void |
setAWSAccountIds(Collection<String> aWSAccountIds)
The AWS account number of the principal who will be given permission. |
void |
setLabel(String label)
|
void |
setQueueUrl(String queueUrl)
|
String |
toString()
|
AddPermissionRequest |
withActions(Collection<String> actions)
The action the client wants to allow for the specified principal. |
AddPermissionRequest |
withActions(String... actions)
The action the client wants to allow for the specified principal. |
AddPermissionRequest |
withAWSAccountIds(Collection<String> aWSAccountIds)
The AWS account number of the principal who will be given permission. |
AddPermissionRequest |
withAWSAccountIds(String... aWSAccountIds)
The AWS account number of the principal who will be given permission. |
AddPermissionRequest |
withLabel(String label)
Returns a reference to this object so that method calls can be chained together. |
AddPermissionRequest |
withQueueUrl(String queueUrl)
Returns a reference to this object so that method calls can be chained together. |
Methods inherited from class com.amazonaws.AmazonWebServiceRequest |
---|
copyPrivateRequestParameters |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public AddPermissionRequest()
public AddPermissionRequest(String queueUrl, String label, List<String> aWSAccountIds, List<String> actions)
queueUrl
- label
- aWSAccountIds
- The AWS account number of the principal who will
be given permission. The principal must have an AWS account, but does
not need to be signed up for Amazon SQS.actions
- The action the client wants to allow for the specified
principal.Method Detail |
---|
public String getQueueUrl()
public void setQueueUrl(String queueUrl)
queueUrl
- public AddPermissionRequest withQueueUrl(String queueUrl)
Returns a reference to this object so that method calls can be chained together.
queueUrl
-
public String getLabel()
public void setLabel(String label)
label
- public AddPermissionRequest withLabel(String label)
Returns a reference to this object so that method calls can be chained together.
label
-
public List<String> getAWSAccountIds()
public void setAWSAccountIds(Collection<String> aWSAccountIds)
aWSAccountIds
- The AWS account number of the principal who will be given permission.
The principal must have an AWS account, but does not need to be signed
up for Amazon SQS.public AddPermissionRequest withAWSAccountIds(String... aWSAccountIds)
Returns a reference to this object so that method calls can be chained together.
aWSAccountIds
- The AWS account number of the principal who will be given permission.
The principal must have an AWS account, but does not need to be signed
up for Amazon SQS.
public AddPermissionRequest withAWSAccountIds(Collection<String> aWSAccountIds)
Returns a reference to this object so that method calls can be chained together.
aWSAccountIds
- The AWS account number of the principal who will be given permission.
The principal must have an AWS account, but does not need to be signed
up for Amazon SQS.
public List<String> getActions()
public void setActions(Collection<String> actions)
actions
- The action the client wants to allow for the specified principal.public AddPermissionRequest withActions(String... actions)
Returns a reference to this object so that method calls can be chained together.
actions
- The action the client wants to allow for the specified principal.
public AddPermissionRequest withActions(Collection<String> actions)
Returns a reference to this object so that method calls can be chained together.
actions
- The action the client wants to allow for the specified principal.
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |