Interface CfnEntity.DataValueProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnEntity.DataValueProperty.Jsii$Proxy
- Enclosing class:
- CfnEntity
@Stability(Stable)
public static interface CfnEntity.DataValueProperty
extends software.amazon.jsii.JsiiSerializable
An object that specifies a value for a property.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.iottwinmaker.*;
DataValueProperty dataValueProperty_;
Object relationshipValue;
DataValueProperty dataValueProperty = DataValueProperty.builder()
.booleanValue(false)
.doubleValue(123)
.expression("expression")
.integerValue(123)
.listValue(List.of(DataValueProperty.builder()
.booleanValue(false)
.doubleValue(123)
.expression("expression")
.integerValue(123)
.listValue(List.of(dataValueProperty_))
.longValue(123)
.mapValue(Map.of(
"mapValueKey", dataValueProperty_))
.relationshipValue(relationshipValue)
.stringValue("stringValue")
.build()))
.longValue(123)
.mapValue(Map.of(
"mapValueKey", DataValueProperty.builder()
.booleanValue(false)
.doubleValue(123)
.expression("expression")
.integerValue(123)
.listValue(List.of(dataValueProperty_))
.longValue(123)
.mapValue(Map.of(
"mapValueKey", dataValueProperty_))
.relationshipValue(relationshipValue)
.stringValue("stringValue")
.build()))
.relationshipValue(relationshipValue)
.stringValue("stringValue")
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnEntity.DataValuePropertystatic final classAn implementation forCfnEntity.DataValueProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectA boolean value.default NumberA double value.default StringAn expression that produces the value.default NumberAn integer value.default ObjectA list of multiple values.default NumberA long value.default ObjectAn object that maps strings to multiple DataValue objects.default ObjectA value that relates a component to another component.default StringA string value.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getBooleanValue
A boolean value. -
getDoubleValue
A double value. -
getExpression
An expression that produces the value. -
getIntegerValue
An integer value. -
getListValue
A list of multiple values. -
getLongValue
A long value. -
getMapValue
An object that maps strings to multiple DataValue objects. -
getRelationshipValue
A value that relates a component to another component. -
getStringValue
A string value. -
builder
-