Interface SnsAction.Builder

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

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

    • targetArn

      SnsAction.Builder targetArn(String targetArn)

      The ARN of the SNS topic.

      Parameters:
      targetArn - The ARN of the SNS topic.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • roleArn

      SnsAction.Builder roleArn(String roleArn)

      The ARN of the IAM role that grants access.

      Parameters:
      roleArn - The ARN of the IAM role that grants access.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • messageFormat

      SnsAction.Builder messageFormat(String messageFormat)

      (Optional) The message format of the message to publish. Accepted values are "JSON" and "RAW". The default value of the attribute is "RAW". SNS uses this setting to determine if the payload should be parsed and relevant platform-specific bits of the payload should be extracted. To read more about SNS message formats, see https://docs.aws.amazon.com/sns/latest /dg/json-formats.html refer to their official documentation.

      Parameters:
      messageFormat - (Optional) The message format of the message to publish. Accepted values are "JSON" and "RAW". The default value of the attribute is "RAW". SNS uses this setting to determine if the payload should be parsed and relevant platform-specific bits of the payload should be extracted. To read more about SNS message formats, see https://docs .aws.amazon.com/sns/latest/dg/json-formats.html refer to their official documentation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • messageFormat

      SnsAction.Builder messageFormat(MessageFormat messageFormat)

      (Optional) The message format of the message to publish. Accepted values are "JSON" and "RAW". The default value of the attribute is "RAW". SNS uses this setting to determine if the payload should be parsed and relevant platform-specific bits of the payload should be extracted. To read more about SNS message formats, see https://docs.aws.amazon.com/sns/latest /dg/json-formats.html refer to their official documentation.

      Parameters:
      messageFormat - (Optional) The message format of the message to publish. Accepted values are "JSON" and "RAW". The default value of the attribute is "RAW". SNS uses this setting to determine if the payload should be parsed and relevant platform-specific bits of the payload should be extracted. To read more about SNS message formats, see https://docs .aws.amazon.com/sns/latest/dg/json-formats.html refer to their official documentation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: