Interface PropertyType.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<PropertyType.Builder,PropertyType>,SdkBuilder<PropertyType.Builder,PropertyType>,SdkPojo
- Enclosing class:
- PropertyType
public static interface PropertyType.Builder extends SdkPojo, CopyableBuilder<PropertyType.Builder,PropertyType>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default PropertyType.Builderattribute(Consumer<Attribute.Builder> attribute)Specifies an asset attribute property.PropertyType.Builderattribute(Attribute attribute)Specifies an asset attribute property.default PropertyType.Buildermeasurement(Consumer<Measurement.Builder> measurement)Specifies an asset measurement property.PropertyType.Buildermeasurement(Measurement measurement)Specifies an asset measurement property.default PropertyType.Buildermetric(Consumer<Metric.Builder> metric)Specifies an asset metric property.PropertyType.Buildermetric(Metric metric)Specifies an asset metric property.default PropertyType.Buildertransform(Consumer<Transform.Builder> transform)Specifies an asset transform property.PropertyType.Buildertransform(Transform transform)Specifies an asset transform property.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
attribute
PropertyType.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.
- Parameters:
attribute- Specifies an asset attribute property. An attribute generally contains static information, such as the serial number of an IIoT wind turbine.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attribute
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.Builderavoiding the need to create one manually viaAttribute.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toattribute(Attribute).- Parameters:
attribute- a consumer that will call methods onAttribute.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
attribute(Attribute)
-
measurement
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
measurement
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.Builderavoiding the need to create one manually viaMeasurement.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tomeasurement(Measurement).- Parameters:
measurement- a consumer that will call methods onMeasurement.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
measurement(Measurement)
-
transform
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
transform
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.Builderavoiding the need to create one manually viaTransform.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totransform(Transform).- Parameters:
transform- a consumer that will call methods onTransform.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
transform(Transform)
-
metric
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metric
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.Builderavoiding the need to create one manually viaMetric.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tometric(Metric).- Parameters:
metric- a consumer that will call methods onMetric.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
metric(Metric)
-
-