@Generated(value="software.amazon.awssdk:codegen") public final class PropertyType extends Object implements SdkPojo, Serializable, ToCopyableBuilder<PropertyType.Builder,PropertyType>
Contains a property type, which can be one of attribute, measurement, metric,
or transform.
| Modifier and Type | Class and Description |
|---|---|
static interface |
PropertyType.Builder |
| Modifier and Type | Method and Description |
|---|---|
Attribute |
attribute()
Specifies an asset attribute property.
|
static PropertyType.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Measurement |
measurement()
Specifies an asset measurement property.
|
Metric |
metric()
Specifies an asset metric property.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends PropertyType.Builder> |
serializableBuilderClass() |
PropertyType.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
Transform |
transform()
Specifies an asset transform property.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final Attribute attribute()
Specifies an asset attribute property. An attribute generally contains static information, such as the serial number of an IIoT wind turbine.
public final 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.
public final 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.
public final 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.
public PropertyType.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<PropertyType.Builder,PropertyType>public static PropertyType.Builder builder()
public static Class<? extends PropertyType.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2022. All rights reserved.