Interface AddPermissionRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<AddPermissionRequest.Builder,AddPermissionRequest>
,SdkBuilder<AddPermissionRequest.Builder,AddPermissionRequest>
,SdkPojo
,SdkRequest.Builder
,SnsRequest.Builder
- Enclosing class:
- AddPermissionRequest
public static interface AddPermissionRequest.Builder extends SnsRequest.Builder, SdkPojo, CopyableBuilder<AddPermissionRequest.Builder,AddPermissionRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AddPermissionRequest.Builder
actionNames(String... actionNames)
The action you want to allow for the specified principal(s).AddPermissionRequest.Builder
actionNames(Collection<String> actionNames)
The action you want to allow for the specified principal(s).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
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
label(String label)
A unique identifier for the new policy statement.AddPermissionRequest.Builder
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AddPermissionRequest.Builder
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AddPermissionRequest.Builder
topicArn(String topicArn)
The ARN of the topic whose access control policy you wish to modify.-
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, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.services.sns.model.SnsRequest.Builder
build
-
-
-
-
Method Detail
-
topicArn
AddPermissionRequest.Builder topicArn(String 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
AddPermissionRequest.Builder label(String 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
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.
- 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
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.
- 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
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
.- 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
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
.- 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)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
overrideConfiguration
AddPermissionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
-