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
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnComponentType.PropertyDefinitionPropertystatic final classAn implementation forCfnComponentType.PropertyDefinitionProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectA mapping that specifies configuration information about the property.default ObjectAn object that specifies the data type of a property.default ObjectA boolean value that specifies whether the property ID comes from an external data store.default ObjectA Boolean value that specifies whether the property ID comes from an external data source.default ObjectA boolean value that specifies whether the property is required in an entity.default ObjectA boolean value that specifies whether the property is stored externally.default ObjectA 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
-