Class CfnAlarmModel.AssetPropertyVariantProperty.Builder
java.lang.Object
software.amazon.awscdk.services.iotevents.CfnAlarmModel.AssetPropertyVariantProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAlarmModel.AssetPropertyVariantProperty>
- Enclosing interface:
CfnAlarmModel.AssetPropertyVariantProperty
@Stability(Stable)
public static final class CfnAlarmModel.AssetPropertyVariantProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAlarmModel.AssetPropertyVariantProperty>
A builder for
CfnAlarmModel.AssetPropertyVariantProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbooleanValue
(String booleanValue) Sets the value ofCfnAlarmModel.AssetPropertyVariantProperty.getBooleanValue()
build()
Builds the configured instance.doubleValue
(String doubleValue) Sets the value ofCfnAlarmModel.AssetPropertyVariantProperty.getDoubleValue()
integerValue
(String integerValue) Sets the value ofCfnAlarmModel.AssetPropertyVariantProperty.getIntegerValue()
stringValue
(String stringValue) Sets the value ofCfnAlarmModel.AssetPropertyVariantProperty.getStringValue()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
booleanValue
@Stability(Stable) public CfnAlarmModel.AssetPropertyVariantProperty.Builder booleanValue(String booleanValue) Sets the value ofCfnAlarmModel.AssetPropertyVariantProperty.getBooleanValue()
- Parameters:
booleanValue
- The asset property value is a Boolean value that must be'TRUE'
or'FALSE'
. You must use an expression, and the evaluated result should be a Boolean value.- Returns:
this
-
doubleValue
@Stability(Stable) public CfnAlarmModel.AssetPropertyVariantProperty.Builder doubleValue(String doubleValue) Sets the value ofCfnAlarmModel.AssetPropertyVariantProperty.getDoubleValue()
- Parameters:
doubleValue
- The asset property value is a double. You must use an expression, and the evaluated result should be a double.- Returns:
this
-
integerValue
@Stability(Stable) public CfnAlarmModel.AssetPropertyVariantProperty.Builder integerValue(String integerValue) Sets the value ofCfnAlarmModel.AssetPropertyVariantProperty.getIntegerValue()
- Parameters:
integerValue
- The asset property value is an integer. You must use an expression, and the evaluated result should be an integer.- Returns:
this
-
stringValue
@Stability(Stable) public CfnAlarmModel.AssetPropertyVariantProperty.Builder stringValue(String stringValue) Sets the value ofCfnAlarmModel.AssetPropertyVariantProperty.getStringValue()
- Parameters:
stringValue
- The asset property value is a string. You must use an expression, and the evaluated result should be a string.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnAlarmModel.AssetPropertyVariantProperty>
- Returns:
- a new instance of
CfnAlarmModel.AssetPropertyVariantProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-