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