public static interface PropertyType.Builder extends SdkPojo, CopyableBuilder<PropertyType.Builder,PropertyType>
| Modifier and Type | Method and Description |
|---|---|
PropertyType.Builder |
attribute(Attribute attribute)
Specifies an asset attribute property.
|
default PropertyType.Builder |
attribute(Consumer<Attribute.Builder> attribute)
Specifies an asset attribute property.
|
default PropertyType.Builder |
measurement(Consumer<Measurement.Builder> measurement)
Specifies an asset measurement property.
|
PropertyType.Builder |
measurement(Measurement measurement)
Specifies an asset measurement property.
|
default PropertyType.Builder |
metric(Consumer<Metric.Builder> metric)
Specifies an asset metric property.
|
PropertyType.Builder |
metric(Metric metric)
Specifies an asset metric property.
|
default PropertyType.Builder |
transform(Consumer<Transform.Builder> transform)
Specifies an asset transform property.
|
PropertyType.Builder |
transform(Transform transform)
Specifies an asset transform property.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildPropertyType.Builder attribute(Attribute attribute)
Specifies an asset attribute property. An attribute generally contains static information, such as the serial number of an IIoT wind turbine.
attribute - Specifies an asset attribute property. An attribute generally contains static information, such as the
serial number of an IIoT wind turbine.default PropertyType.Builder attribute(Consumer<Attribute.Builder> attribute)
Specifies an asset attribute property. An attribute generally contains static information, such as the serial number of an IIoT wind turbine.
This is a convenience method that creates an instance of theAttribute.Builder avoiding the need to
create one manually via Attribute.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result
is passed to attribute(Attribute).
attribute - a consumer that will call methods on Attribute.Builderattribute(Attribute)PropertyType.Builder measurement(Measurement measurement)
Specifies an asset measurement property. A measurement represents a device's raw sensor data stream, such as timestamped temperature values or timestamped power values.
measurement - Specifies an asset measurement property. A measurement represents a device's raw sensor data stream,
such as timestamped temperature values or timestamped power values.default PropertyType.Builder measurement(Consumer<Measurement.Builder> measurement)
Specifies an asset measurement property. A measurement represents a device's raw sensor data stream, such as timestamped temperature values or timestamped power values.
This is a convenience method that creates an instance of theMeasurement.Builder avoiding the need to
create one manually via Measurement.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result
is passed to measurement(Measurement).
measurement - a consumer that will call methods on Measurement.Buildermeasurement(Measurement)PropertyType.Builder transform(Transform 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.
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.default PropertyType.Builder transform(Consumer<Transform.Builder> 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 a convenience method that creates an instance of theTransform.Builder avoiding the need to
create one manually via Transform.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result
is passed to transform(Transform).
transform - a consumer that will call methods on Transform.Buildertransform(Transform)PropertyType.Builder metric(Metric 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.
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.default PropertyType.Builder metric(Consumer<Metric.Builder> 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 a convenience method that creates an instance of theMetric.Builder avoiding the need to
create one manually via Metric.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result is
passed to metric(Metric).
metric - a consumer that will call methods on Metric.Buildermetric(Metric)Copyright © 2022. All rights reserved.