Class CfnDetectorModel.AssetPropertyVariantProperty.Builder
java.lang.Object
software.amazon.awscdk.services.iotevents.CfnDetectorModel.AssetPropertyVariantProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDetectorModel.AssetPropertyVariantProperty>
- Enclosing interface:
CfnDetectorModel.AssetPropertyVariantProperty
@Stability(Stable)
public static final class CfnDetectorModel.AssetPropertyVariantProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDetectorModel.AssetPropertyVariantProperty>
A builder for
CfnDetectorModel.AssetPropertyVariantProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanValue(String booleanValue) Sets the value ofCfnDetectorModel.AssetPropertyVariantProperty.getBooleanValue()build()Builds the configured instance.doubleValue(String doubleValue) Sets the value ofCfnDetectorModel.AssetPropertyVariantProperty.getDoubleValue()integerValue(String integerValue) Sets the value ofCfnDetectorModel.AssetPropertyVariantProperty.getIntegerValue()stringValue(String stringValue) Sets the value ofCfnDetectorModel.AssetPropertyVariantProperty.getStringValue()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
booleanValue
@Stability(Stable) public CfnDetectorModel.AssetPropertyVariantProperty.Builder booleanValue(String booleanValue) Sets the value ofCfnDetectorModel.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 CfnDetectorModel.AssetPropertyVariantProperty.Builder doubleValue(String doubleValue) Sets the value ofCfnDetectorModel.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 CfnDetectorModel.AssetPropertyVariantProperty.Builder integerValue(String integerValue) Sets the value ofCfnDetectorModel.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 CfnDetectorModel.AssetPropertyVariantProperty.Builder stringValue(String stringValue) Sets the value ofCfnDetectorModel.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:
buildin interfacesoftware.amazon.jsii.Builder<CfnDetectorModel.AssetPropertyVariantProperty>- Returns:
- a new instance of
CfnDetectorModel.AssetPropertyVariantProperty - Throws:
NullPointerException- if any required attribute was not provided
-