Interface SNSConfiguration.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<SNSConfiguration.Builder,
,SNSConfiguration> SdkBuilder<SNSConfiguration.Builder,
,SNSConfiguration> SdkPojo
- Enclosing class:
SNSConfiguration
-
Method Summary
Modifier and TypeMethodDescriptionThe ARN of the IAM role that has access to the target SNS topic.The format of the SNS topic.The format of the SNS topic.snsTopicArn
(String snsTopicArn) The ARN of the target SNS topic.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
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
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
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
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:
-
-