public static interface AddPermissionRequest.Builder extends SnsRequest.Builder, SdkPojo, 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 Amazon Web Services account IDs of the users (principals) who will be given access to the specified
actions.
|
AddPermissionRequest.Builder |
awsAccountIds(String... awsAccountIds)
The Amazon Web Services 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) |
AddPermissionRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
AddPermissionRequest.Builder |
topicArn(String topicArn)
The ARN of the topic whose access control policy you wish to modify.
|
build
overrideConfiguration
equalsBySdkFields, sdkFields
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 Amazon Web Services account IDs of the users (principals) who will be given access to the specified actions. The users must have Amazon Web Services account, but do not need to be signed up for this service.
awsAccountIds
- The Amazon Web Services account IDs of the users (principals) who will be given access to the
specified actions. The users must have Amazon Web Services account, but do not need to be signed up
for this service.AddPermissionRequest.Builder awsAccountIds(String... awsAccountIds)
The Amazon Web Services account IDs of the users (principals) who will be given access to the specified actions. The users must have Amazon Web Services account, but do not need to be signed up for this service.
awsAccountIds
- The Amazon Web Services account IDs of the users (principals) who will be given access to the
specified actions. The users must have Amazon Web Services account, 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, for example Publish
.
actionNames
- The action you want to allow for the specified principal(s).
Valid values: Any Amazon SNS action name, for example Publish
.
AddPermissionRequest.Builder actionNames(String... actionNames)
The action you want to allow for the specified principal(s).
Valid values: Any Amazon SNS action name, for example Publish
.
actionNames
- The action you want to allow for the specified principal(s).
Valid values: Any Amazon SNS action name, for example Publish
.
AddPermissionRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration
in interface AwsRequest.Builder
AddPermissionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration
in interface AwsRequest.Builder
Copyright © 2022. All rights reserved.