Interface SNSConfiguration.Builder

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

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

    • roleArn

      SNSConfiguration.Builder roleArn(String roleArn)

      The ARN of the IAM role that has access to the target SNS topic.

      Parameters:
      roleArn - The ARN of the IAM role that has access to the target SNS topic.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • snsTopicArn

      SNSConfiguration.Builder snsTopicArn(String snsTopicArn)

      The ARN of the target SNS topic.

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

      SNSConfiguration.Builder snsFormat(String snsFormat)

      The format of the SNS topic.

      • JSON – Send JSON alerts with an anomaly ID and a link to the anomaly detail page. This is the default.

      • LONG_TEXT – Send human-readable alerts with information about the impacted timeseries and a link to the anomaly detail page. We recommend this for email.

      • SHORT_TEXT – Send human-readable alerts with a link to the anomaly detail page. We recommend this for SMS.

      Parameters:
      snsFormat - The format of the SNS topic.

      • JSON – Send JSON alerts with an anomaly ID and a link to the anomaly detail page. This is the default.

      • LONG_TEXT – Send human-readable alerts with information about the impacted timeseries and a link to the anomaly detail page. We recommend this for email.

      • SHORT_TEXT – Send human-readable alerts with a link to the anomaly detail page. We recommend this for SMS.

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

      SNSConfiguration.Builder snsFormat(SnsFormat snsFormat)

      The format of the SNS topic.

      • JSON – Send JSON alerts with an anomaly ID and a link to the anomaly detail page. This is the default.

      • LONG_TEXT – Send human-readable alerts with information about the impacted timeseries and a link to the anomaly detail page. We recommend this for email.

      • SHORT_TEXT – Send human-readable alerts with a link to the anomaly detail page. We recommend this for SMS.

      Parameters:
      snsFormat - The format of the SNS topic.

      • JSON – Send JSON alerts with an anomaly ID and a link to the anomaly detail page. This is the default.

      • LONG_TEXT – Send human-readable alerts with information about the impacted timeseries and a link to the anomaly detail page. We recommend this for email.

      • SHORT_TEXT – Send human-readable alerts with a link to the anomaly detail page. We recommend this for SMS.

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