public static interface AddPermissionRequest.Builder extends SQSRequest.Builder, CopyableBuilder<AddPermissionRequest.Builder,AddPermissionRequest>
Modifier and Type | Method and Description |
---|---|
AddPermissionRequest.Builder |
actions(Collection<String> actions)
The action the client wants to allow for the specified principal.
|
AddPermissionRequest.Builder |
actions(String... actions)
The action the client wants to allow for the specified principal.
|
AddPermissionRequest.Builder |
awsAccountIds(Collection<String> awsAccountIds)
The AWS account number of the principal who is given permission.
|
AddPermissionRequest.Builder |
awsAccountIds(String... awsAccountIds)
The AWS account number of the principal who is given permission.
|
AddPermissionRequest.Builder |
label(String label)
The unique identification of the permission you're setting (for example,
AliceSendMessage ). |
AddPermissionRequest.Builder |
queueUrl(String queueUrl)
The URL of the Amazon SQS queue to which permissions are added.
|
AddPermissionRequest.Builder |
requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
Add an optional request override configuration.
|
build
requestOverrideConfig, requestOverrideConfig
copy
apply, build
AddPermissionRequest.Builder queueUrl(String queueUrl)
The URL of the Amazon SQS queue to which permissions are added.
Queue URLs are case-sensitive.
queueUrl
- The URL of the Amazon SQS queue to which permissions are added.
Queue URLs are case-sensitive.
AddPermissionRequest.Builder label(String label)
The unique identification of the permission you're setting (for example, AliceSendMessage
).
Maximum 80 characters. Allowed characters include alphanumeric characters, hyphens (-
), and
underscores (_
).
label
- The unique identification of the permission you're setting (for example, AliceSendMessage
). Maximum 80 characters. Allowed characters include alphanumeric characters, hyphens (-
), and underscores (_
).AddPermissionRequest.Builder awsAccountIds(Collection<String> awsAccountIds)
The AWS account number of the principal 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 Your AWS Identifiers in the Amazon Simple Queue Service Developer Guide.
awsAccountIds
- The AWS account number of the principal 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 Your AWS Identifiers in the Amazon Simple Queue Service Developer Guide.AddPermissionRequest.Builder awsAccountIds(String... awsAccountIds)
The AWS account number of the principal 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 Your AWS Identifiers in the Amazon Simple Queue Service Developer Guide.
awsAccountIds
- The AWS account number of the principal 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 Your AWS Identifiers in the Amazon Simple Queue Service Developer Guide.AddPermissionRequest.Builder actions(Collection<String> actions)
The action the client wants to allow for the specified principal. The following values are valid:
*
ChangeMessageVisibility
DeleteMessage
GetQueueAttributes
GetQueueUrl
ReceiveMessage
SendMessage
For more information about these actions, see Understanding Permissions in the Amazon Simple Queue Service Developer Guide.
Specifying SendMessage
, DeleteMessage
, or ChangeMessageVisibility
for
ActionName.n
also grants permissions for the corresponding batch versions of those actions:
SendMessageBatch
, DeleteMessageBatch
, and ChangeMessageVisibilityBatch
.
actions
- The action the client wants to allow for the specified principal. The following values are valid:
*
ChangeMessageVisibility
DeleteMessage
GetQueueAttributes
GetQueueUrl
ReceiveMessage
SendMessage
For more information about these actions, see Understanding Permissions in the Amazon Simple Queue Service Developer Guide.
Specifying SendMessage
, DeleteMessage
, or
ChangeMessageVisibility
for ActionName.n
also grants permissions for the
corresponding batch versions of those actions: SendMessageBatch
,
DeleteMessageBatch
, and ChangeMessageVisibilityBatch
.
AddPermissionRequest.Builder actions(String... actions)
The action the client wants to allow for the specified principal. The following values are valid:
*
ChangeMessageVisibility
DeleteMessage
GetQueueAttributes
GetQueueUrl
ReceiveMessage
SendMessage
For more information about these actions, see Understanding Permissions in the Amazon Simple Queue Service Developer Guide.
Specifying SendMessage
, DeleteMessage
, or ChangeMessageVisibility
for
ActionName.n
also grants permissions for the corresponding batch versions of those actions:
SendMessageBatch
, DeleteMessageBatch
, and ChangeMessageVisibilityBatch
.
actions
- The action the client wants to allow for the specified principal. The following values are valid:
*
ChangeMessageVisibility
DeleteMessage
GetQueueAttributes
GetQueueUrl
ReceiveMessage
SendMessage
For more information about these actions, see Understanding Permissions in the Amazon Simple Queue Service Developer Guide.
Specifying SendMessage
, DeleteMessage
, or
ChangeMessageVisibility
for ActionName.n
also grants permissions for the
corresponding batch versions of those actions: SendMessageBatch
,
DeleteMessageBatch
, and ChangeMessageVisibilityBatch
.
AddPermissionRequest.Builder requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
AwsRequest.Builder
requestOverrideConfig
in interface AwsRequest.Builder
awsRequestOverrideConfig
- The override configuration.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.