Interface AddPermissionRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<AddPermissionRequest.Builder,,AddPermissionRequest> SdkBuilder<AddPermissionRequest.Builder,,AddPermissionRequest> SdkPojo,SdkRequest.Builder,SnsRequest.Builder
- Enclosing class:
AddPermissionRequest
-
Method Summary
Modifier and TypeMethodDescriptionactionNames(String... actionNames) The action you want to allow for the specified principal(s).actionNames(Collection<String> actionNames) The action you want to allow for the specified principal(s).awsAccountIds(String... awsAccountIds) The Amazon Web Services account IDs of the users (principals) who will be given access to the specified actions.awsAccountIds(Collection<String> awsAccountIds) The Amazon Web Services account IDs of the users (principals) who will be given access to the specified actions.A unique identifier for the new policy statement.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The ARN of the topic whose access control policy you wish to modify.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.services.sns.model.SnsRequest.Builder
build
-
Method Details
-
topicArn
The ARN of the topic whose access control policy you wish to modify.
- Parameters:
topicArn- The ARN of the topic whose access control policy you wish to modify.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
label
A unique identifier for the new policy statement.
- Parameters:
label- A unique identifier for the new policy statement.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
actionNames
The action you want to allow for the specified principal(s).
Valid values: Any Amazon SNS action name, for example
Publish.- Parameters:
actionNames- The action you want to allow for the specified principal(s).Valid values: Any Amazon SNS action name, for example
Publish.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
actionNames
The action you want to allow for the specified principal(s).
Valid values: Any Amazon SNS action name, for example
Publish.- Parameters:
actionNames- The action you want to allow for the specified principal(s).Valid values: Any Amazon SNS action name, for example
Publish.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
AddPermissionRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
AddPermissionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-