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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SNSConfiguration.BuilderroleArn(String roleArn)The ARN of the IAM role that has access to the target SNS topic.SNSConfiguration.BuildersnsFormat(String snsFormat)The format of the SNS topic.SNSConfiguration.BuildersnsFormat(SnsFormat snsFormat)The format of the SNS topic.SNSConfiguration.BuildersnsTopicArn(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 Detail
-
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,SnsFormat
-
-
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:
SnsFormat,SnsFormat
-
-
-