Interface SNSAction.Builder

    • Method Detail

      • topicArn

        SNSAction.Builder topicArn​(String topicArn)

        The Amazon Resource Name (ARN) of the Amazon SNS topic to notify. You can find the ARN of a topic by using the ListTopics operation in Amazon SNS.

        For more information about Amazon SNS topics, see the Amazon SNS Developer Guide.

        Parameters:
        topicArn - The Amazon Resource Name (ARN) of the Amazon SNS topic to notify. You can find the ARN of a topic by using the ListTopics operation in Amazon SNS.

        For more information about Amazon SNS topics, see the Amazon SNS Developer Guide.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • encoding

        SNSAction.Builder encoding​(String encoding)

        The encoding to use for the email within the Amazon SNS notification. UTF-8 is easier to use, but may not preserve all special characters when a message was encoded with a different encoding format. Base64 preserves all special characters. The default value is UTF-8.

        Parameters:
        encoding - The encoding to use for the email within the Amazon SNS notification. UTF-8 is easier to use, but may not preserve all special characters when a message was encoded with a different encoding format. Base64 preserves all special characters. The default value is UTF-8.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        SNSActionEncoding, SNSActionEncoding
      • encoding

        SNSAction.Builder encoding​(SNSActionEncoding encoding)

        The encoding to use for the email within the Amazon SNS notification. UTF-8 is easier to use, but may not preserve all special characters when a message was encoded with a different encoding format. Base64 preserves all special characters. The default value is UTF-8.

        Parameters:
        encoding - The encoding to use for the email within the Amazon SNS notification. UTF-8 is easier to use, but may not preserve all special characters when a message was encoded with a different encoding format. Base64 preserves all special characters. The default value is UTF-8.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        SNSActionEncoding, SNSActionEncoding