Interface AddPermissionRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<AddPermissionRequest.Builder,AddPermissionRequest>
,SdkBuilder<AddPermissionRequest.Builder,AddPermissionRequest>
,SdkPojo
,SdkRequest.Builder
,SqsRequest.Builder
- Enclosing class:
- AddPermissionRequest
public static interface AddPermissionRequest.Builder extends SqsRequest.Builder, SdkPojo, CopyableBuilder<AddPermissionRequest.Builder,AddPermissionRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AddPermissionRequest.Builder
actions(String... actions)
The action the client wants to allow for the specified principal.AddPermissionRequest.Builder
actions(Collection<String> actions)
The action the client wants to allow for the specified principal.AddPermissionRequest.Builder
awsAccountIds(String... awsAccountIds)
The Amazon Web Services account numbers of the principals who are to receive permission.AddPermissionRequest.Builder
awsAccountIds(Collection<String> awsAccountIds)
The Amazon Web Services account numbers of the principals who are to receive permission.AddPermissionRequest.Builder
label(String label)
The unique identification of the permission you're setting (for example,AliceSendMessage
).AddPermissionRequest.Builder
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AddPermissionRequest.Builder
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AddPermissionRequest.Builder
queueUrl(String queueUrl)
The URL of the Amazon SQS queue to which permissions are added.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.services.sqs.model.SqsRequest.Builder
build
-
-
-
-
Method Detail
-
queueUrl
AddPermissionRequest.Builder queueUrl(String queueUrl)
The URL of the Amazon SQS queue to which permissions are added.
Queue URLs and names are case-sensitive.
- Parameters:
queueUrl
- The URL of the Amazon SQS queue to which permissions are added.Queue URLs and names are case-sensitive.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
label
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 (_
).- Parameters:
label
- The unique identification of the permission you're setting (for example,AliceSendMessage
). Maximum 80 characters. Allowed characters include alphanumeric characters, hyphens (-
), and underscores (_
).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
awsAccountIds
AddPermissionRequest.Builder awsAccountIds(Collection<String> awsAccountIds)
The Amazon Web Services account numbers of the principals who are to receive permission. For information about locating the Amazon Web Services account identification, see Your Amazon Web Services Identifiers in the Amazon SQS Developer Guide.
- Parameters:
awsAccountIds
- The Amazon Web Services account numbers of the principals who are to receive permission. For information about locating the Amazon Web Services account identification, see Your Amazon Web Services Identifiers in the Amazon SQS Developer Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
awsAccountIds
AddPermissionRequest.Builder awsAccountIds(String... awsAccountIds)
The Amazon Web Services account numbers of the principals who are to receive permission. For information about locating the Amazon Web Services account identification, see Your Amazon Web Services Identifiers in the Amazon SQS Developer Guide.
- Parameters:
awsAccountIds
- The Amazon Web Services account numbers of the principals who are to receive permission. For information about locating the Amazon Web Services account identification, see Your Amazon Web Services Identifiers in the Amazon SQS Developer Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
actions
AddPermissionRequest.Builder actions(Collection<String> actions)
The action the client wants to allow for the specified principal. Valid values: the name of any action or
*
.For more information about these actions, see Overview of Managing Access Permissions to Your Amazon Simple Queue Service Resource in the Amazon SQS Developer Guide.
Specifying
SendMessage
,DeleteMessage
, orChangeMessageVisibility
forActionName.n
also grants permissions for the corresponding batch versions of those actions:SendMessageBatch
,DeleteMessageBatch
, andChangeMessageVisibilityBatch
.- Parameters:
actions
- The action the client wants to allow for the specified principal. Valid values: the name of any action or*
.For more information about these actions, see Overview of Managing Access Permissions to Your Amazon Simple Queue Service Resource in the Amazon SQS Developer Guide.
Specifying
SendMessage
,DeleteMessage
, orChangeMessageVisibility
forActionName.n
also grants permissions for the corresponding batch versions of those actions:SendMessageBatch
,DeleteMessageBatch
, andChangeMessageVisibilityBatch
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
actions
AddPermissionRequest.Builder actions(String... actions)
The action the client wants to allow for the specified principal. Valid values: the name of any action or
*
.For more information about these actions, see Overview of Managing Access Permissions to Your Amazon Simple Queue Service Resource in the Amazon SQS Developer Guide.
Specifying
SendMessage
,DeleteMessage
, orChangeMessageVisibility
forActionName.n
also grants permissions for the corresponding batch versions of those actions:SendMessageBatch
,DeleteMessageBatch
, andChangeMessageVisibilityBatch
.- Parameters:
actions
- The action the client wants to allow for the specified principal. Valid values: the name of any action or*
.For more information about these actions, see Overview of Managing Access Permissions to Your Amazon Simple Queue Service Resource in the Amazon SQS Developer Guide.
Specifying
SendMessage
,DeleteMessage
, orChangeMessageVisibility
forActionName.n
also grants permissions for the corresponding batch versions of those actions:SendMessageBatch
,DeleteMessageBatch
, andChangeMessageVisibilityBatch
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
AddPermissionRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
overrideConfiguration
AddPermissionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
-