@Generated(value="jsii-pacmak/1.47.0 (build 86d2c33)", date="2021-12-22T10:27:18.087Z") @Stability(value=Stable) public interface CfnAssetModelProps 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.iotsitewise.*;
CfnAssetModelProps cfnAssetModelProps = CfnAssetModelProps.builder()
.assetModelName("assetModelName")
// the properties below are optional
.assetModelCompositeModels(List.of(AssetModelCompositeModelProperty.builder()
.name("name")
.type("type")
// the properties below are optional
.compositeModelProperties(List.of(AssetModelPropertyProperty.builder()
.dataType("dataType")
.logicalId("logicalId")
.name("name")
.type(PropertyTypeProperty.builder()
.typeName("typeName")
// the properties below are optional
.attribute(AttributeProperty.builder()
.defaultValue("defaultValue")
.build())
.metric(MetricProperty.builder()
.expression("expression")
.variables(List.of(ExpressionVariableProperty.builder()
.name("name")
.value(VariableValueProperty.builder()
.propertyLogicalId("propertyLogicalId")
// the properties below are optional
.hierarchyLogicalId("hierarchyLogicalId")
.build())
.build()))
.window(MetricWindowProperty.builder()
.tumbling(TumblingWindowProperty.builder()
.interval("interval")
// the properties below are optional
.offset("offset")
.build())
.build())
.build())
.transform(TransformProperty.builder()
.expression("expression")
.variables(List.of(ExpressionVariableProperty.builder()
.name("name")
.value(VariableValueProperty.builder()
.propertyLogicalId("propertyLogicalId")
// the properties below are optional
.hierarchyLogicalId("hierarchyLogicalId")
.build())
.build()))
.build())
.build())
// the properties below are optional
.dataTypeSpec("dataTypeSpec")
.unit("unit")
.build()))
.description("description")
.build()))
.assetModelDescription("assetModelDescription")
.assetModelHierarchies(List.of(AssetModelHierarchyProperty.builder()
.childAssetModelId("childAssetModelId")
.logicalId("logicalId")
.name("name")
.build()))
.assetModelProperties(List.of(AssetModelPropertyProperty.builder()
.dataType("dataType")
.logicalId("logicalId")
.name("name")
.type(PropertyTypeProperty.builder()
.typeName("typeName")
// the properties below are optional
.attribute(AttributeProperty.builder()
.defaultValue("defaultValue")
.build())
.metric(MetricProperty.builder()
.expression("expression")
.variables(List.of(ExpressionVariableProperty.builder()
.name("name")
.value(VariableValueProperty.builder()
.propertyLogicalId("propertyLogicalId")
// the properties below are optional
.hierarchyLogicalId("hierarchyLogicalId")
.build())
.build()))
.window(MetricWindowProperty.builder()
.tumbling(TumblingWindowProperty.builder()
.interval("interval")
// the properties below are optional
.offset("offset")
.build())
.build())
.build())
.transform(TransformProperty.builder()
.expression("expression")
.variables(List.of(ExpressionVariableProperty.builder()
.name("name")
.value(VariableValueProperty.builder()
.propertyLogicalId("propertyLogicalId")
// the properties below are optional
.hierarchyLogicalId("hierarchyLogicalId")
.build())
.build()))
.build())
.build())
// the properties below are optional
.dataTypeSpec("dataTypeSpec")
.unit("unit")
.build()))
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnAssetModelProps.Builder
A builder for
CfnAssetModelProps |
static class |
CfnAssetModelProps.Jsii$Proxy
An implementation for
CfnAssetModelProps |
| Modifier and Type | Method and Description |
|---|---|
static CfnAssetModelProps.Builder |
builder() |
default Object |
getAssetModelCompositeModels()
`AWS::IoTSiteWise::AssetModel.AssetModelCompositeModels`.
|
default String |
getAssetModelDescription()
`AWS::IoTSiteWise::AssetModel.AssetModelDescription`.
|
default Object |
getAssetModelHierarchies()
`AWS::IoTSiteWise::AssetModel.AssetModelHierarchies`.
|
String |
getAssetModelName()
`AWS::IoTSiteWise::AssetModel.AssetModelName`.
|
default Object |
getAssetModelProperties()
`AWS::IoTSiteWise::AssetModel.AssetModelProperties`.
|
default List<CfnTag> |
getTags()
`AWS::IoTSiteWise::AssetModel.Tags`.
|
@Stability(value=Stable) @Nullable default Object getAssetModelCompositeModels()
@Stability(value=Stable) @Nullable default String getAssetModelDescription()
@Stability(value=Stable) @Nullable default Object getAssetModelHierarchies()
@Stability(value=Stable) @NotNull String getAssetModelName()
@Stability(value=Stable) @Nullable default Object getAssetModelProperties()
@Stability(value=Stable) @Nullable default List<CfnTag> getTags()
@Stability(value=Stable) static CfnAssetModelProps.Builder builder()
CfnAssetModelProps.Builder of CfnAssetModelPropsCopyright © 2021. All rights reserved.