@Stability(value=Stable)
public static interface CfnAssetModel.PropertyTypeProperty
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.*;
PropertyTypeProperty propertyTypeProperty = 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();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnAssetModel.PropertyTypeProperty.Builder
A builder for
CfnAssetModel.PropertyTypeProperty |
static class |
CfnAssetModel.PropertyTypeProperty.Jsii$Proxy
An implementation for
CfnAssetModel.PropertyTypeProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnAssetModel.PropertyTypeProperty.Builder |
builder() |
default Object |
getAttribute()
`CfnAssetModel.PropertyTypeProperty.Attribute`.
|
default Object |
getMetric()
`CfnAssetModel.PropertyTypeProperty.Metric`.
|
default Object |
getTransform()
`CfnAssetModel.PropertyTypeProperty.Transform`.
|
String |
getTypeName()
`CfnAssetModel.PropertyTypeProperty.TypeName`.
|
@Stability(value=Stable) @Nullable default Object getAttribute()
@Stability(value=Stable) @Nullable default Object getMetric()
@Stability(value=Stable) @Nullable default Object getTransform()
@Stability(value=Stable) @NotNull String getTypeName()
@Stability(value=Stable) static CfnAssetModel.PropertyTypeProperty.Builder builder()
Copyright © 2021. All rights reserved.