Interface CfnComponentType.DataValueProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnComponentType.DataValueProperty.Jsii$Proxy
- Enclosing class:
CfnComponentType
@Stability(Stable)
public static interface CfnComponentType.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_)) .longValue(123) .mapValue(Map.of( "mapValueKey", dataValueProperty_)) .relationshipValue(relationshipValue) .stringValue("stringValue") .build();
- See Also:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnComponentType.DataValueProperty
static final class
An implementation forCfnComponentType.DataValueProperty
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
default Object
A boolean value.default Number
A double value.default String
An expression that produces the value.default Number
An integer value.default Object
A list of multiple values.default Number
A long value.default Object
An object that maps strings to multipleDataValue
objects.default Object
A value that relates a component to another component.default String
A string value.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getBooleanValue
A boolean value.- See Also:
-
getDoubleValue
A double value.- See Also:
-
getExpression
An expression that produces the value.- See Also:
-
getIntegerValue
An integer value.- See Also:
-
getListValue
A list of multiple values.- See Also:
-
getLongValue
A long value.- See Also:
-
getMapValue
An object that maps strings to multipleDataValue
objects.- See Also:
-
getRelationshipValue
A value that relates a component to another component.- See Also:
-
getStringValue
A string value.- See Also:
-
builder
-