@Stability(value=Stable)
public static interface CfnAssetModel.AssetModelCompositeModelProperty
extends software.amazon.jsii.JsiiSerializable
// 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.*;
AssetModelCompositeModelProperty assetModelCompositeModelProperty = 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();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnAssetModel.AssetModelCompositeModelProperty.Builder
A builder for
CfnAssetModel.AssetModelCompositeModelProperty |
static class |
CfnAssetModel.AssetModelCompositeModelProperty.Jsii$Proxy
An implementation for
CfnAssetModel.AssetModelCompositeModelProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnAssetModel.AssetModelCompositeModelProperty.Builder |
builder() |
default Object |
getCompositeModelProperties()
`CfnAssetModel.AssetModelCompositeModelProperty.CompositeModelProperties`.
|
default String |
getDescription()
`CfnAssetModel.AssetModelCompositeModelProperty.Description`.
|
String |
getName()
`CfnAssetModel.AssetModelCompositeModelProperty.Name`.
|
String |
getType()
`CfnAssetModel.AssetModelCompositeModelProperty.Type`.
|
@Stability(value=Stable) @Nullable default Object getCompositeModelProperties()
@Stability(value=Stable) @Nullable default String getDescription()
@Stability(value=Stable) @NotNull String getName()
@Stability(value=Stable) @NotNull String getType()
@Stability(value=Stable) static CfnAssetModel.AssetModelCompositeModelProperty.Builder builder()
Copyright © 2021. All rights reserved.