@Stability(value=Stable)
public static interface CfnAssetModel.AssetModelPropertyProperty
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.*;
AssetModelPropertyProperty assetModelPropertyProperty = 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();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnAssetModel.AssetModelPropertyProperty.Builder
A builder for
CfnAssetModel.AssetModelPropertyProperty |
static class |
CfnAssetModel.AssetModelPropertyProperty.Jsii$Proxy
An implementation for
CfnAssetModel.AssetModelPropertyProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnAssetModel.AssetModelPropertyProperty.Builder |
builder() |
String |
getDataType()
`CfnAssetModel.AssetModelPropertyProperty.DataType`.
|
default String |
getDataTypeSpec()
`CfnAssetModel.AssetModelPropertyProperty.DataTypeSpec`.
|
String |
getLogicalId()
`CfnAssetModel.AssetModelPropertyProperty.LogicalId`.
|
String |
getName()
`CfnAssetModel.AssetModelPropertyProperty.Name`.
|
Object |
getType()
`CfnAssetModel.AssetModelPropertyProperty.Type`.
|
default String |
getUnit()
`CfnAssetModel.AssetModelPropertyProperty.Unit`.
|
@Stability(value=Stable) @NotNull String getDataType()
@Stability(value=Stable) @Nullable default String getDataTypeSpec()
@Stability(value=Stable) @NotNull String getLogicalId()
@Stability(value=Stable) @NotNull String getName()
@Stability(value=Stable) @NotNull Object getType()
@Stability(value=Stable) @Nullable default String getUnit()
@Stability(value=Stable) static CfnAssetModel.AssetModelPropertyProperty.Builder builder()
Copyright © 2021. All rights reserved.