@Stability(value=Stable) public static final class CfnAssetModel.PropertyTypeProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnAssetModel.PropertyTypeProperty>
CfnAssetModel.PropertyTypeProperty| Constructor and Description |
|---|
Builder() |
@Stability(value=Stable) public CfnAssetModel.PropertyTypeProperty.Builder typeName(String typeName)
CfnAssetModel.PropertyTypeProperty.getTypeName()typeName - The type of property type, which can be one of `Attribute` , `Measurement` , `Metric` , or `Transform` . This parameter is required.this@Stability(value=Stable) public CfnAssetModel.PropertyTypeProperty.Builder attribute(CfnAssetModel.AttributeProperty attribute)
CfnAssetModel.PropertyTypeProperty.getAttribute()attribute - Specifies an asset attribute property.
An attribute generally contains static information, such as the serial number of an industrial IoT wind turbine.
This is required if the TypeName is Attribute and has a DefaultValue .
this@Stability(value=Stable) public CfnAssetModel.PropertyTypeProperty.Builder attribute(IResolvable attribute)
CfnAssetModel.PropertyTypeProperty.getAttribute()attribute - Specifies an asset attribute property.
An attribute generally contains static information, such as the serial number of an industrial IoT wind turbine.
This is required if the TypeName is Attribute and has a DefaultValue .
this@Stability(value=Stable) public CfnAssetModel.PropertyTypeProperty.Builder metric(CfnAssetModel.MetricProperty metric)
CfnAssetModel.PropertyTypeProperty.getMetric()metric - Specifies an asset metric property.
A metric contains a mathematical expression that uses aggregate functions to process all input data points over a time interval and output a single data point, such as to calculate the average hourly temperature.
This is required if the TypeName is Metric .
this@Stability(value=Stable) public CfnAssetModel.PropertyTypeProperty.Builder metric(IResolvable metric)
CfnAssetModel.PropertyTypeProperty.getMetric()metric - Specifies an asset metric property.
A metric contains a mathematical expression that uses aggregate functions to process all input data points over a time interval and output a single data point, such as to calculate the average hourly temperature.
This is required if the TypeName is Metric .
this@Stability(value=Stable) public CfnAssetModel.PropertyTypeProperty.Builder transform(CfnAssetModel.TransformProperty transform)
CfnAssetModel.PropertyTypeProperty.getTransform()transform - Specifies an asset transform property.
A transform contains a mathematical expression that maps a property's data points from one form to another, such as a unit conversion from Celsius to Fahrenheit.
This is required if the TypeName is Transform .
this@Stability(value=Stable) public CfnAssetModel.PropertyTypeProperty.Builder transform(IResolvable transform)
CfnAssetModel.PropertyTypeProperty.getTransform()transform - Specifies an asset transform property.
A transform contains a mathematical expression that maps a property's data points from one form to another, such as a unit conversion from Celsius to Fahrenheit.
This is required if the TypeName is Transform .
this@Stability(value=Stable) public CfnAssetModel.PropertyTypeProperty build()
build in interface software.amazon.jsii.Builder<CfnAssetModel.PropertyTypeProperty>CfnAssetModel.PropertyTypePropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.