Interface CfnComponentType.PropertyDefinitionProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnComponentType.PropertyDefinitionProperty.Jsii$Proxy
- Enclosing class:
CfnComponentType
@Stability(Stable)
public static interface CfnComponentType.PropertyDefinitionProperty
extends software.amazon.jsii.JsiiSerializable
PropertyDefinition is an object that maps strings to the property definitions in the component 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; PropertyDefinitionProperty propertyDefinitionProperty = PropertyDefinitionProperty.builder() .configurations(Map.of( "configurationsKey", "configurations")) .dataType(DataTypeProperty.builder() .type("type") // the properties below are optional .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()) .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) .isRequiredInEntity(false) .isStoredExternally(false) .isTimeSeries(false) .build();
- See Also:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnComponentType.PropertyDefinitionProperty
static final class
An implementation forCfnComponentType.PropertyDefinitionProperty
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
default Object
A mapping that specifies configuration information about the property.default Object
An object that specifies the data type of a property.default Object
A boolean value that specifies whether the property ID comes from an external data store.default Object
A Boolean value that specifies whether the property ID comes from an external data source.default Object
A boolean value that specifies whether the property is required in an entity.default Object
A boolean value that specifies whether the property is stored externally.default Object
A boolean value that specifies whether the property consists of time series data.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getConfigurations
A mapping that specifies configuration information about the property.- See Also:
-
getDataType
An object that specifies the data type of a property.- See Also:
-
getDefaultValue
A boolean value that specifies whether the property ID comes from an external data store.- See Also:
-
getIsExternalId
A Boolean value that specifies whether the property ID comes from an external data source.- See Also:
-
getIsRequiredInEntity
A boolean value that specifies whether the property is required in an entity.- See Also:
-
getIsStoredExternally
A boolean value that specifies whether the property is stored externally.- See Also:
-
getIsTimeSeries
A boolean value that specifies whether the property consists of time series data.- See Also:
-
builder
-