@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:40.069Z") @Stability(value=Stable) public interface CfnComponentTypeProps 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;
CfnComponentTypeProps cfnComponentTypeProps = CfnComponentTypeProps.builder()
.componentTypeId("componentTypeId")
.workspaceId("workspaceId")
// the properties below are optional
.description("description")
.extendsFrom(List.of("extendsFrom"))
.functions(Map.of(
"functionsKey", FunctionProperty.builder()
.implementedBy(DataConnectorProperty.builder()
.isNative(false)
.lambda(LambdaFunctionProperty.builder()
.arn("arn")
.build())
.build())
.requiredProperties(List.of("requiredProperties"))
.scope("scope")
.build()))
.isSingleton(false)
.propertyDefinitions(Map.of(
"propertyDefinitionsKey", 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()))
.tags(Map.of(
"tagsKey", "tags"))
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnComponentTypeProps.Builder
A builder for
CfnComponentTypeProps |
static class |
CfnComponentTypeProps.Jsii$Proxy
An implementation for
CfnComponentTypeProps |
| Modifier and Type | Method and Description |
|---|---|
static CfnComponentTypeProps.Builder |
builder() |
String |
getComponentTypeId()
The ID of the component type.
|
default String |
getDescription()
The description of the component type.
|
default List<String> |
getExtendsFrom()
The name of the parent component type that this component type extends.
|
default Object |
getFunctions()
An object that maps strings to the functions in the component type.
|
default Object |
getIsSingleton()
A boolean value that specifies whether an entity can have more than one component of this type.
|
default Object |
getPropertyDefinitions()
An object that maps strings to the property definitions in the component type.
|
default Map<String,String> |
getTags()
The ComponentType tags.
|
String |
getWorkspaceId()
The ID of the workspace.
|
@Stability(value=Stable) @NotNull String getComponentTypeId()
@Stability(value=Stable) @NotNull String getWorkspaceId()
@Stability(value=Stable) @Nullable default String getDescription()
@Stability(value=Stable) @Nullable default List<String> getExtendsFrom()
@Stability(value=Stable) @Nullable default Object getFunctions()
Each string in the mapping must be unique to this object.
For information on the FunctionResponse object see the FunctionResponse API reference.
@Stability(value=Stable) @Nullable default Object getIsSingleton()
@Stability(value=Stable) @Nullable default Object getPropertyDefinitions()
Each string in the mapping must be unique to this object.
For information about the PropertyDefinitionResponse object, see the PropertyDefinitionResponse API reference.
@Stability(value=Stable) @Nullable default Map<String,String> getTags()
@Stability(value=Stable) static CfnComponentTypeProps.Builder builder()
CfnComponentTypeProps.Builder of CfnComponentTypePropsCopyright © 2022. All rights reserved.