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