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 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

      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 interface AwsRequest.Builder
    • overrideConfiguration

      Specified by:
      overrideConfiguration in interface AwsRequest.Builder