@Stability(value=Stable) public static final class CfnDetectorModel.SnsProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnDetectorModel.SnsProperty>
CfnDetectorModel.SnsProperty| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnDetectorModel.SnsProperty |
build()
Builds the configured instance.
|
CfnDetectorModel.SnsProperty.Builder |
payload(CfnDetectorModel.PayloadProperty payload)
Sets the value of
CfnDetectorModel.SnsProperty.getPayload() |
CfnDetectorModel.SnsProperty.Builder |
payload(IResolvable payload)
Sets the value of
CfnDetectorModel.SnsProperty.getPayload() |
CfnDetectorModel.SnsProperty.Builder |
targetArn(String targetArn)
Sets the value of
CfnDetectorModel.SnsProperty.getTargetArn() |
@Stability(value=Stable) public CfnDetectorModel.SnsProperty.Builder targetArn(String targetArn)
CfnDetectorModel.SnsProperty.getTargetArn()targetArn - The ARN of the Amazon SNS target where the message is sent. This parameter is required.this@Stability(value=Stable) public CfnDetectorModel.SnsProperty.Builder payload(CfnDetectorModel.PayloadProperty payload)
CfnDetectorModel.SnsProperty.getPayload()payload - You can configure the action payload when you send a message as an Amazon SNS push notification.this@Stability(value=Stable) public CfnDetectorModel.SnsProperty.Builder payload(IResolvable payload)
CfnDetectorModel.SnsProperty.getPayload()payload - You can configure the action payload when you send a message as an Amazon SNS push notification.this@Stability(value=Stable) public CfnDetectorModel.SnsProperty build()
build in interface software.amazon.jsii.Builder<CfnDetectorModel.SnsProperty>CfnDetectorModel.SnsPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.