Class CfnComponentType.DataValueProperty.Builder
java.lang.Object
software.amazon.awscdk.services.iottwinmaker.CfnComponentType.DataValueProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnComponentType.DataValueProperty>
- Enclosing interface:
CfnComponentType.DataValueProperty
@Stability(Stable)
public static final class CfnComponentType.DataValueProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnComponentType.DataValueProperty>
A builder for
CfnComponentType.DataValueProperty
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanValue
(Boolean booleanValue) Sets the value ofCfnComponentType.DataValueProperty.getBooleanValue()
booleanValue
(IResolvable booleanValue) Sets the value ofCfnComponentType.DataValueProperty.getBooleanValue()
build()
Builds the configured instance.doubleValue
(Number doubleValue) Sets the value ofCfnComponentType.DataValueProperty.getDoubleValue()
expression
(String expression) Sets the value ofCfnComponentType.DataValueProperty.getExpression()
integerValue
(Number integerValue) Sets the value ofCfnComponentType.DataValueProperty.getIntegerValue()
Sets the value ofCfnComponentType.DataValueProperty.getListValue()
listValue
(IResolvable listValue) Sets the value ofCfnComponentType.DataValueProperty.getListValue()
Sets the value ofCfnComponentType.DataValueProperty.getLongValue()
Sets the value ofCfnComponentType.DataValueProperty.getMapValue()
mapValue
(IResolvable mapValue) Sets the value ofCfnComponentType.DataValueProperty.getMapValue()
relationshipValue
(Object relationshipValue) Sets the value ofCfnComponentType.DataValueProperty.getRelationshipValue()
stringValue
(String stringValue) Sets the value ofCfnComponentType.DataValueProperty.getStringValue()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
booleanValue
@Stability(Stable) public CfnComponentType.DataValueProperty.Builder booleanValue(Boolean booleanValue) Sets the value ofCfnComponentType.DataValueProperty.getBooleanValue()
- Parameters:
booleanValue
- A boolean value.- Returns:
this
-
booleanValue
@Stability(Stable) public CfnComponentType.DataValueProperty.Builder booleanValue(IResolvable booleanValue) Sets the value ofCfnComponentType.DataValueProperty.getBooleanValue()
- Parameters:
booleanValue
- A boolean value.- Returns:
this
-
doubleValue
@Stability(Stable) public CfnComponentType.DataValueProperty.Builder doubleValue(Number doubleValue) Sets the value ofCfnComponentType.DataValueProperty.getDoubleValue()
- Parameters:
doubleValue
- A double value.- Returns:
this
-
expression
Sets the value ofCfnComponentType.DataValueProperty.getExpression()
- Parameters:
expression
- An expression that produces the value.- Returns:
this
-
integerValue
@Stability(Stable) public CfnComponentType.DataValueProperty.Builder integerValue(Number integerValue) Sets the value ofCfnComponentType.DataValueProperty.getIntegerValue()
- Parameters:
integerValue
- An integer value.- Returns:
this
-
listValue
@Stability(Stable) public CfnComponentType.DataValueProperty.Builder listValue(IResolvable listValue) Sets the value ofCfnComponentType.DataValueProperty.getListValue()
- Parameters:
listValue
- A list of multiple values.- Returns:
this
-
listValue
@Stability(Stable) public CfnComponentType.DataValueProperty.Builder listValue(List<? extends Object> listValue) Sets the value ofCfnComponentType.DataValueProperty.getListValue()
- Parameters:
listValue
- A list of multiple values.- Returns:
this
-
longValue
Sets the value ofCfnComponentType.DataValueProperty.getLongValue()
- Parameters:
longValue
- A long value.- Returns:
this
-
mapValue
Sets the value ofCfnComponentType.DataValueProperty.getMapValue()
- Parameters:
mapValue
- An object that maps strings to multipleDataValue
objects.- Returns:
this
-
mapValue
@Stability(Stable) public CfnComponentType.DataValueProperty.Builder mapValue(Map<String, ? extends Object> mapValue) Sets the value ofCfnComponentType.DataValueProperty.getMapValue()
- Parameters:
mapValue
- An object that maps strings to multipleDataValue
objects.- Returns:
this
-
relationshipValue
@Stability(Stable) public CfnComponentType.DataValueProperty.Builder relationshipValue(Object relationshipValue) Sets the value ofCfnComponentType.DataValueProperty.getRelationshipValue()
- Parameters:
relationshipValue
- A value that relates a component to another component.- Returns:
this
-
stringValue
@Stability(Stable) public CfnComponentType.DataValueProperty.Builder stringValue(String stringValue) Sets the value ofCfnComponentType.DataValueProperty.getStringValue()
- Parameters:
stringValue
- A string value.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnComponentType.DataValueProperty>
- Returns:
- a new instance of
CfnComponentType.DataValueProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-