@Stability(value=Stable) public static final class NotificationRuleTargetConfig.Builder extends Object implements software.amazon.jsii.Builder<NotificationRuleTargetConfig>
NotificationRuleTargetConfig| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
NotificationRuleTargetConfig |
build()
Builds the configured instance.
|
NotificationRuleTargetConfig.Builder |
targetAddress(String targetAddress)
Sets the value of
NotificationRuleTargetConfig.getTargetAddress() |
NotificationRuleTargetConfig.Builder |
targetType(String targetType)
Sets the value of
NotificationRuleTargetConfig.getTargetType() |
@Stability(value=Stable) public NotificationRuleTargetConfig.Builder targetAddress(String targetAddress)
NotificationRuleTargetConfig.getTargetAddress()targetAddress - The Amazon Resource Name (ARN) of the Amazon SNS topic or AWS Chatbot client. This parameter is required.this@Stability(value=Stable) public NotificationRuleTargetConfig.Builder targetType(String targetType)
NotificationRuleTargetConfig.getTargetType()targetType - The target type. This parameter is required.
Can be an Amazon SNS topic or AWS Chatbot client.this@Stability(value=Stable) public NotificationRuleTargetConfig build()
build in interface software.amazon.jsii.Builder<NotificationRuleTargetConfig>NotificationRuleTargetConfigNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.