Interface CfnEntity.DataTypeProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnEntity.DataTypeProperty.Jsii$Proxy
- Enclosing class:
CfnEntity
@Stability(Stable)
public static interface CfnEntity.DataTypeProperty
extends software.amazon.jsii.JsiiSerializable
The entity data type.
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.*; DataTypeProperty dataTypeProperty_; DataValueProperty dataValueProperty_; Object relationshipValue; DataTypeProperty dataTypeProperty = DataTypeProperty.builder() .allowedValues(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())) .nestedType(dataTypeProperty_) .relationship(RelationshipProperty.builder() .relationshipType("relationshipType") .targetComponentTypeId("targetComponentTypeId") .build()) .type("type") .unitOfMeasure("unitOfMeasure") .build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final class
A builder forCfnEntity.DataTypeProperty
static final class
An implementation forCfnEntity.DataTypeProperty
-
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAllowedValues
The allowed values.- See Also:
-
getNestedType
The nested type.- See Also:
-
getRelationship
The relationship.- See Also:
-
getType
The entity type.- See Also:
-
getUnitOfMeasure
The unit of measure.- See Also:
-
builder
- Returns:
- a
CfnEntity.DataTypeProperty.Builder
ofCfnEntity.DataTypeProperty
-