public static final class NotificationRuleTargetConfig.Builder
extends java.lang.Object
NotificationRuleTargetConfig
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
NotificationRuleTargetConfig |
build()
Builds the configured instance.
|
NotificationRuleTargetConfig.Builder |
targetAddress(java.lang.String targetAddress)
Sets the value of
NotificationRuleTargetConfig.getTargetAddress() |
NotificationRuleTargetConfig.Builder |
targetType(java.lang.String targetType)
Sets the value of
NotificationRuleTargetConfig.getTargetType() |
public NotificationRuleTargetConfig.Builder targetAddress(java.lang.String targetAddress)
NotificationRuleTargetConfig.getTargetAddress()
targetAddress
- The Amazon Resource Name (ARN) of the Amazon SNS topic or AWS Chatbot client. This parameter is required.this
public NotificationRuleTargetConfig.Builder targetType(java.lang.String targetType)
NotificationRuleTargetConfig.getTargetType()
targetType
- The target type. This parameter is required.
Can be an Amazon SNS topic or AWS Chatbot client.this
public NotificationRuleTargetConfig build()
NotificationRuleTargetConfig
java.lang.NullPointerException
- if any required attribute was not provided