Class PropertyType
- java.lang.Object
-
- software.amazon.awssdk.services.iotsitewise.model.PropertyType
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<PropertyType.Builder,PropertyType>
@Generated("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, ortransform.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfacePropertyType.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Attributeattribute()Specifies an asset attribute property.static PropertyType.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Measurementmeasurement()Specifies an asset measurement property.Metricmetric()Specifies an asset metric property.List<SdkField<?>>sdkFields()static Class<? extends PropertyType.Builder>serializableBuilderClass()PropertyType.BuildertoBuilder()StringtoString()Returns a string representation of this object.Transformtransform()Specifies an asset transform property.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
attribute
public final Attribute attribute()
Specifies an asset attribute property. An attribute generally contains static information, such as the serial number of an IIoT wind turbine.
- Returns:
- Specifies an asset attribute property. An attribute generally contains static information, such as the serial number of an IIoT wind turbine.
-
measurement
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.
- Returns:
- Specifies an asset measurement property. A measurement represents a device's raw sensor data stream, such as timestamped temperature values or timestamped power values.
-
transform
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.
- Returns:
- 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.
-
metric
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.
- Returns:
- 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.
-
toBuilder
public PropertyType.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<PropertyType.Builder,PropertyType>
-
builder
public static PropertyType.Builder builder()
-
serializableBuilderClass
public static Class<? extends PropertyType.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-