@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PropertyType extends Object implements Serializable, Cloneable, StructuredPojo
Contains a property type, which can be one of attribute
, measurement
, metric
,
or transform
.
Constructor and Description |
---|
PropertyType() |
Modifier and Type | Method and Description |
---|---|
PropertyType |
clone() |
boolean |
equals(Object obj) |
Attribute |
getAttribute()
Specifies an asset attribute property.
|
Measurement |
getMeasurement()
Specifies an asset measurement property.
|
Metric |
getMetric()
Specifies an asset metric property.
|
Transform |
getTransform()
Specifies an asset transform property.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAttribute(Attribute attribute)
Specifies an asset attribute property.
|
void |
setMeasurement(Measurement measurement)
Specifies an asset measurement property.
|
void |
setMetric(Metric metric)
Specifies an asset metric property.
|
void |
setTransform(Transform transform)
Specifies an asset transform property.
|
String |
toString()
Returns a string representation of this object.
|
PropertyType |
withAttribute(Attribute attribute)
Specifies an asset attribute property.
|
PropertyType |
withMeasurement(Measurement measurement)
Specifies an asset measurement property.
|
PropertyType |
withMetric(Metric metric)
Specifies an asset metric property.
|
PropertyType |
withTransform(Transform transform)
Specifies an asset transform property.
|
public void setAttribute(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.public Attribute getAttribute()
Specifies an asset attribute property. An attribute generally contains static information, such as the serial number of an IIoT wind turbine.
public PropertyType withAttribute(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.public void setMeasurement(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.public Measurement getMeasurement()
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 PropertyType withMeasurement(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.public void setTransform(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.public Transform getTransform()
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 PropertyType withTransform(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.public void setMetric(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.public Metric getMetric()
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 withMetric(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.public String toString()
toString
in class Object
Object.toString()
public PropertyType clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.