public static interface AddPermissionRequest.Builder extends SnsRequest.Builder, CopyableBuilder<AddPermissionRequest.Builder,AddPermissionRequest>
Modifier and Type | Method and Description |
---|---|
AddPermissionRequest.Builder |
actionNames(Collection<String> actionNames)
The action you want to allow for the specified principal(s).
|
AddPermissionRequest.Builder |
actionNames(String... actionNames)
The action you want to allow for the specified principal(s).
|
AddPermissionRequest.Builder |
awsAccountIds(Collection<String> awsAccountIds)
The AWS account IDs of the users (principals) who will be given access to the specified actions.
|
AddPermissionRequest.Builder |
awsAccountIds(String... awsAccountIds)
The AWS account IDs of the users (principals) who will be given access to the specified actions.
|
AddPermissionRequest.Builder |
label(String label)
A unique identifier for the new policy statement.
|
AddPermissionRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
AddPermissionRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
AddPermissionRequest.Builder |
topicArn(String topicArn)
The ARN of the topic whose access control policy you wish to modify.
|
build
overrideConfiguration
copy
applyMutation, build
AddPermissionRequest.Builder topicArn(String topicArn)
The ARN of the topic whose access control policy you wish to modify.
topicArn
- The ARN of the topic whose access control policy you wish to modify.AddPermissionRequest.Builder label(String label)
A unique identifier for the new policy statement.
label
- A unique identifier for the new policy statement.AddPermissionRequest.Builder awsAccountIds(Collection<String> awsAccountIds)
The AWS account IDs of the users (principals) who will be given access to the specified actions. The users must have AWS accounts, but do not need to be signed up for this service.
awsAccountIds
- The AWS account IDs of the users (principals) who will be given access to the specified actions. The
users must have AWS accounts, but do not need to be signed up for this service.AddPermissionRequest.Builder awsAccountIds(String... awsAccountIds)
The AWS account IDs of the users (principals) who will be given access to the specified actions. The users must have AWS accounts, but do not need to be signed up for this service.
awsAccountIds
- The AWS account IDs of the users (principals) who will be given access to the specified actions. The
users must have AWS accounts, but do not need to be signed up for this service.AddPermissionRequest.Builder actionNames(Collection<String> actionNames)
The action you want to allow for the specified principal(s).
Valid values: any Amazon SNS action name.
actionNames
- The action you want to allow for the specified principal(s).
Valid values: any Amazon SNS action name.
AddPermissionRequest.Builder actionNames(String... actionNames)
The action you want to allow for the specified principal(s).
Valid values: any Amazon SNS action name.
actionNames
- The action you want to allow for the specified principal(s).
Valid values: any Amazon SNS action name.
AddPermissionRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.AddPermissionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.