@Stability(value=Stable) public static final class CfnAlarmModel.PayloadProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnAlarmModel.PayloadProperty>
CfnAlarmModel.PayloadProperty| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnAlarmModel.PayloadProperty |
build()
Builds the configured instance.
|
CfnAlarmModel.PayloadProperty.Builder |
contentExpression(String contentExpression)
Sets the value of
CfnAlarmModel.PayloadProperty.getContentExpression() |
CfnAlarmModel.PayloadProperty.Builder |
type(String type)
Sets the value of
CfnAlarmModel.PayloadProperty.getType() |
@Stability(value=Stable) public CfnAlarmModel.PayloadProperty.Builder contentExpression(String contentExpression)
CfnAlarmModel.PayloadProperty.getContentExpression()contentExpression - The content of the payload. This parameter is required.
You can use a string expression that includes quoted strings ( '<string>' ), variables ( $variable.<variable-name> ), input values ( $input.<input-name>.<path-to-datum> ), string concatenations, and quoted strings that contain ${} as the content. The recommended maximum size of a content expression is 1 KB.this@Stability(value=Stable) public CfnAlarmModel.PayloadProperty.Builder type(String type)
CfnAlarmModel.PayloadProperty.getType()type - The value of the payload type can be either `STRING` or `JSON` . This parameter is required.this@Stability(value=Stable) public CfnAlarmModel.PayloadProperty build()
build in interface software.amazon.jsii.Builder<CfnAlarmModel.PayloadProperty>CfnAlarmModel.PayloadPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.