Interface CfnEntity.DefinitionProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnEntity.DefinitionProperty.Jsii$Proxy
Enclosing class:
CfnEntity

@Stability(Stable) public static interface CfnEntity.DefinitionProperty extends software.amazon.jsii.JsiiSerializable
The entity definition.

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;
 DefinitionProperty definitionProperty = DefinitionProperty.builder()
         .configuration(Map.of(
                 "configurationKey", "configuration"))
         .dataType(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())
         .defaultValue(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())
         .isExternalId(false)
         .isFinal(false)
         .isImported(false)
         .isInherited(false)
         .isRequiredInEntity(false)
         .isStoredExternally(false)
         .isTimeSeries(false)
         .build();
 

See Also: