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 |
requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
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
requestOverrideConfig, requestOverrideConfig
copy
apply, 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 requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
AwsRequest.Builder
requestOverrideConfig
in interface AwsRequest.Builder
awsRequestOverrideConfig
- The override configuration.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.