public static interface AssetProperty.Builder extends SdkPojo, CopyableBuilder<AssetProperty.Builder,AssetProperty>
| Modifier and Type | Method and Description |
|---|---|
AssetProperty.Builder |
alias(String alias)
The alias that identifies the property, such as an OPC-UA server data stream path (for example,
/company/windfarm/3/turbine/7/temperature). |
AssetProperty.Builder |
dataType(PropertyDataType dataType)
The data type of the asset property.
|
AssetProperty.Builder |
dataType(String dataType)
The data type of the asset property.
|
AssetProperty.Builder |
dataTypeSpec(String dataTypeSpec)
The data type of the structure for this property.
|
AssetProperty.Builder |
id(String id)
The ID of the asset property.
|
AssetProperty.Builder |
name(String name)
The name of the property.
|
default AssetProperty.Builder |
notification(Consumer<PropertyNotification.Builder> notification)
The asset property's notification topic and state.
|
AssetProperty.Builder |
notification(PropertyNotification notification)
The asset property's notification topic and state.
|
AssetProperty.Builder |
unit(String unit)
The unit (such as
Newtons or RPM) of the asset property. |
equalsBySdkFields, sdkFieldscopyapplyMutation, buildAssetProperty.Builder id(String id)
The ID of the asset property.
id - The ID of the asset property.AssetProperty.Builder name(String name)
The name of the property.
name - The name of the property.AssetProperty.Builder alias(String alias)
The alias that identifies the property, such as an OPC-UA server data stream path (for example,
/company/windfarm/3/turbine/7/temperature). For more information, see Mapping industrial
data streams to asset properties in the IoT SiteWise User Guide.
alias - The alias that identifies the property, such as an OPC-UA server data stream path (for example,
/company/windfarm/3/turbine/7/temperature). For more information, see Mapping
industrial data streams to asset properties in the IoT SiteWise User Guide.AssetProperty.Builder notification(PropertyNotification notification)
The asset property's notification topic and state. For more information, see UpdateAssetProperty.
notification - The asset property's notification topic and state. For more information, see UpdateAssetProperty.default AssetProperty.Builder notification(Consumer<PropertyNotification.Builder> notification)
The asset property's notification topic and state. For more information, see UpdateAssetProperty.
This is a convenience method that creates an instance of thePropertyNotification.Builder avoiding
the need to create one manually via PropertyNotification.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to notification(PropertyNotification).
notification - a consumer that will call methods on PropertyNotification.Buildernotification(PropertyNotification)AssetProperty.Builder dataType(String dataType)
The data type of the asset property.
dataType - The data type of the asset property.PropertyDataType,
PropertyDataTypeAssetProperty.Builder dataType(PropertyDataType dataType)
The data type of the asset property.
dataType - The data type of the asset property.PropertyDataType,
PropertyDataTypeAssetProperty.Builder dataTypeSpec(String dataTypeSpec)
The data type of the structure for this property. This parameter exists on properties that have the
STRUCT data type.
dataTypeSpec - The data type of the structure for this property. This parameter exists on properties that have the
STRUCT data type.AssetProperty.Builder unit(String unit)
The unit (such as Newtons or RPM) of the asset property.
unit - The unit (such as Newtons or RPM) of the asset property.Copyright © 2022. All rights reserved.