@Stability(value=Stable)
public static interface CfnComponentType.DataTypeProperty
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;
DataTypeProperty dataTypeProperty = 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.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())
.relationship(RelationshipProperty.builder()
.relationshipType("relationshipType")
.targetComponentTypeId("targetComponentTypeId")
.build())
.unitOfMeasure("unitOfMeasure")
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnComponentType.DataTypeProperty.Builder
A builder for
CfnComponentType.DataTypeProperty |
static class |
CfnComponentType.DataTypeProperty.Jsii$Proxy
An implementation for
CfnComponentType.DataTypeProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnComponentType.DataTypeProperty.Builder |
builder() |
default Object |
getAllowedValues()
The allowed values for this data type.
|
default Object |
getNestedType()
The nested type in the data type.
|
default Object |
getRelationship()
A relationship that associates a component with another component.
|
String |
getType()
The underlying type of the data type.
|
default String |
getUnitOfMeasure()
The unit of measure used in this data type.
|
@Stability(value=Stable) @NotNull String getType()
Valid Values: RELATIONSHIP | STRING | LONG | BOOLEAN | INTEGER | DOUBLE | LIST | MAP
@Stability(value=Stable) @Nullable default Object getAllowedValues()
@Stability(value=Stable) @Nullable default Object getNestedType()
@Stability(value=Stable) @Nullable default Object getRelationship()
@Stability(value=Stable) @Nullable default String getUnitOfMeasure()
@Stability(value=Stable) static CfnComponentType.DataTypeProperty.Builder builder()
Copyright © 2022. All rights reserved.