/** * <p> * The AWS account number of the <a * href="http://docs.aws.amazon.com/general/latest/gr/glos-chap.html#P">principal</a> who is given permission. The * principal must have an AWS account, but does not need to be signed up for Amazon SQS. For information about * locating the AWS account identification, see <a href= * "http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-making-api-requests.html#sqs-api-request-authentication" * >Your AWS Identifiers</a> in the <i>Amazon Simple Queue Service Developer Guide</i>. * </p> * * @param aWSAccountIds * The AWS account number of the <a * href="http://docs.aws.amazon.com/general/latest/gr/glos-chap.html#P">principal</a> who is given * permission. The principal must have an AWS account, but does not need to be signed up for Amazon SQS. For * information about locating the AWS account identification, see <a href= * "http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-making-api-requests.html#sqs-api-request-authentication" * >Your AWS Identifiers</a> in the <i>Amazon Simple Queue Service Developer Guide</i>. * @return Returns a reference to this object so that method calls can be chained together. */ public AddPermissionRequest withAWSAccountIds(java.util.Collection<String> aWSAccountIds) { setAWSAccountIds(aWSAccountIds); return this; }
setAWSAccountIds(new com.amazonaws.internal.SdkInternalList<String>(aWSAccountIds.length));
setQueueUrl(queueUrl); setLabel(label); setAWSAccountIds(aWSAccountIds); setActions(actions);
setAWSAccountIds(aWSAccountIds); return this;
setQueueUrl(queueUrl); setLabel(label); setAWSAccountIds(aWSAccountIds); setActions(actions);
addPermissionRequest.setQueueUrl(queueUrl); addPermissionRequest.setLabel(label); addPermissionRequest.setAWSAccountIds(aWSAccountIds); addPermissionRequest.setActions(actions); addPermission(addPermissionRequest);
/** * <p> * The AWS account number of the <a * href="http://docs.aws.amazon.com/general/latest/gr/glos-chap.html#P">principal</a> who is given permission. The * principal must have an AWS account, but does not need to be signed up for Amazon SQS. For information about * locating the AWS account identification, see <a href= * "http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-making-api-requests.html#sqs-api-request-authentication" * >Your AWS Identifiers</a> in the <i>Amazon Simple Queue Service Developer Guide</i>. * </p> * * @param aWSAccountIds * The AWS account number of the <a * href="http://docs.aws.amazon.com/general/latest/gr/glos-chap.html#P">principal</a> who is given * permission. The principal must have an AWS account, but does not need to be signed up for Amazon SQS. For * information about locating the AWS account identification, see <a href= * "http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-making-api-requests.html#sqs-api-request-authentication" * >Your AWS Identifiers</a> in the <i>Amazon Simple Queue Service Developer Guide</i>. * @return Returns a reference to this object so that method calls can be chained together. */ public AddPermissionRequest withAWSAccountIds(java.util.Collection<String> aWSAccountIds) { setAWSAccountIds(aWSAccountIds); return this; }
setAWSAccountIds(aWSAccountIds); return this;
setAWSAccountIds(new com.amazonaws.internal.SdkInternalList<String>(aWSAccountIds.length));
setQueueUrl(queueUrl); setLabel(label); setAWSAccountIds(aWSAccountIds); setActions(actions);
setQueueUrl(queueUrl); setLabel(label); setAWSAccountIds(aWSAccountIds); setActions(actions);
addPermissionRequest.setQueueUrl(queueUrl); addPermissionRequest.setLabel(label); addPermissionRequest.setAWSAccountIds(aWSAccountIds); addPermissionRequest.setActions(actions); addPermission(addPermissionRequest);