Interface SNSTopicPublishAction.Builder

All Superinterfaces:
Buildable, CopyableBuilder<SNSTopicPublishAction.Builder,SNSTopicPublishAction>, SdkBuilder<SNSTopicPublishAction.Builder,SNSTopicPublishAction>, SdkPojo
Enclosing class:
SNSTopicPublishAction

public static interface SNSTopicPublishAction.Builder extends SdkPojo, CopyableBuilder<SNSTopicPublishAction.Builder,SNSTopicPublishAction>
  • Method Details

    • targetArn

      SNSTopicPublishAction.Builder targetArn(String targetArn)

      The ARN of the Amazon SNS target where the message is sent.

      Parameters:
      targetArn - The ARN of the Amazon SNS target where the message is sent.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • payload

      You can configure the action payload when you send a message as an Amazon SNS push notification.

      Parameters:
      payload - You can configure the action payload when you send a message as an Amazon SNS push notification.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • payload

      You can configure the action payload when you send a message as an Amazon SNS push notification.

      This is a convenience method that creates an instance of the Payload.Builder avoiding the need to create one manually via Payload.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to payload(Payload).

      Parameters:
      payload - a consumer that will call methods on Payload.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: