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:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnEntity.DefinitionPropertystatic final classAn implementation forCfnEntity.DefinitionProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectThe configuration.default ObjectThe data type.default ObjectThe default value.default ObjectDisplays if the entity has a external Id.default ObjectDisplays if the entity is final.default ObjectDisplays if the entity is imported.default ObjectDisplays if the entity is inherited.default ObjectDisplays if the entity is a required entity.default ObjectDisplays if the entity is tored externally.default ObjectDisplays if the entity.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getConfiguration
The configuration.- See Also:
-
getDataType
The data type.- See Also:
-
getDefaultValue
The default value.- See Also:
-
getIsExternalId
Displays if the entity has a external Id.- See Also:
-
getIsFinal
Displays if the entity is final.- See Also:
-
getIsImported
Displays if the entity is imported.- See Also:
-
getIsInherited
Displays if the entity is inherited.- See Also:
-
getIsRequiredInEntity
Displays if the entity is a required entity.- See Also:
-
getIsStoredExternally
Displays if the entity is tored externally.- See Also:
-
getIsTimeSeries
Displays if the entity.- See Also:
-
builder
-