@Stability(value=Stable)
public static interface CfnComponentType.PropertyDefinitionProperty
extends software.amazon.jsii.JsiiSerializable
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();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnComponentType.PropertyDefinitionProperty.Builder
A builder for
CfnComponentType.PropertyDefinitionProperty |
static class |
CfnComponentType.PropertyDefinitionProperty.Jsii$Proxy
An implementation for
CfnComponentType.PropertyDefinitionProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnComponentType.PropertyDefinitionProperty.Builder |
builder() |
default Object |
getConfigurations()
A mapping that specifies configuration information about the property.
|
default Object |
getDataType()
`CfnComponentType.PropertyDefinitionProperty.DataType`.
|
default Object |
getDefaultValue()
A boolean value that specifies whether the property ID comes from an external data store.
|
default Object |
getIsExternalId()
A boolean value that specifies whether the property ID comes from an external data store.
|
default Object |
getIsRequiredInEntity()
A boolean value that specifies whether the property is required in an entity.
|
default Object |
getIsStoredExternally()
A boolean value that specifies whether the property is stored externally.
|
default Object |
getIsTimeSeries()
A boolean value that specifies whether the property consists of time series data.
|
@Stability(value=Stable) @Nullable default Object getConfigurations()
@Stability(value=Stable) @Nullable default Object getDataType()
@Stability(value=Stable) @Nullable default Object getDefaultValue()
@Stability(value=Stable) @Nullable default Object getIsExternalId()
@Stability(value=Stable) @Nullable default Object getIsRequiredInEntity()
@Stability(value=Stable) @Nullable default Object getIsStoredExternally()
@Stability(value=Stable) @Nullable default Object getIsTimeSeries()
@Stability(value=Stable) static CfnComponentType.PropertyDefinitionProperty.Builder builder()
Copyright © 2022. All rights reserved.