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.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())
         .relationship(RelationshipProperty.builder()
                 .relationshipType("relationshipType")
                 .targetComponentTypeId("targetComponentTypeId")
                 .build())
         .type("type")
         .unitOfMeasure("unitOfMeasure")
         .build();
 
  • Method Details

    • getAllowedValues

      @Stability(Stable) @Nullable default Object getAllowedValues()
      The allowed values.
    • getNestedType

      @Stability(Stable) @Nullable default Object getNestedType()
      The nested type.
    • getRelationship

      @Stability(Stable) @Nullable default Object getRelationship()
      The relationship.
    • getType

      @Stability(Stable) @Nullable default String getType()
      The entity type.
    • getUnitOfMeasure

      @Stability(Stable) @Nullable default String getUnitOfMeasure()
      The unit of measure.
    • builder

      @Stability(Stable) static CfnEntity.DataTypeProperty.Builder builder()
      Returns:
      a CfnEntity.DataTypeProperty.Builder of CfnEntity.DataTypeProperty