@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AssetProperty extends Object implements Serializable, Cloneable, StructuredPojo
Contains asset property information.
| Constructor and Description |
|---|
AssetProperty() |
| Modifier and Type | Method and Description |
|---|---|
AssetProperty |
clone() |
boolean |
equals(Object obj) |
String |
getAlias()
The property alias that identifies the property, such as an OPC-UA server data stream path (for example,
/company/windfarm/3/turbine/7/temperature). |
String |
getDataType()
The data type of the asset property.
|
String |
getId()
The ID of the asset property.
|
String |
getName()
The name of the property.
|
PropertyNotification |
getNotification()
The asset property's notification topic and state.
|
String |
getUnit()
The unit (such as
Newtons or RPM) of the asset property. |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setAlias(String alias)
The property alias that identifies the property, such as an OPC-UA server data stream path (for example,
/company/windfarm/3/turbine/7/temperature). |
void |
setDataType(String dataType)
The data type of the asset property.
|
void |
setId(String id)
The ID of the asset property.
|
void |
setName(String name)
The name of the property.
|
void |
setNotification(PropertyNotification notification)
The asset property's notification topic and state.
|
void |
setUnit(String unit)
The unit (such as
Newtons or RPM) of the asset property. |
String |
toString()
Returns a string representation of this object.
|
AssetProperty |
withAlias(String alias)
The property alias that identifies the property, such as an OPC-UA server data stream path (for example,
/company/windfarm/3/turbine/7/temperature). |
AssetProperty |
withDataType(PropertyDataType dataType)
The data type of the asset property.
|
AssetProperty |
withDataType(String dataType)
The data type of the asset property.
|
AssetProperty |
withId(String id)
The ID of the asset property.
|
AssetProperty |
withName(String name)
The name of the property.
|
AssetProperty |
withNotification(PropertyNotification notification)
The asset property's notification topic and state.
|
AssetProperty |
withUnit(String unit)
The unit (such as
Newtons or RPM) of the asset property. |
public void setId(String id)
The ID of the asset property.
id - The ID of the asset property.public String getId()
The ID of the asset property.
public AssetProperty withId(String id)
The ID of the asset property.
id - The ID of the asset property.public void setName(String name)
The name of the property.
name - The name of the property.public String getName()
The name of the property.
public AssetProperty withName(String name)
The name of the property.
name - The name of the property.public void setAlias(String alias)
The property alias that identifies the property, such as an OPC-UA server data stream path (for example,
/company/windfarm/3/turbine/7/temperature). For more information, see Mapping Industrial
Data Streams to Asset Properties in the AWS IoT SiteWise User Guide.
alias - The property alias that identifies the property, such as an OPC-UA server data stream path (for example,
/company/windfarm/3/turbine/7/temperature). For more information, see Mapping
Industrial Data Streams to Asset Properties in the AWS IoT SiteWise User Guide.public String getAlias()
The property alias that identifies the property, such as an OPC-UA server data stream path (for example,
/company/windfarm/3/turbine/7/temperature). For more information, see Mapping Industrial
Data Streams to Asset Properties in the AWS IoT SiteWise User Guide.
/company/windfarm/3/turbine/7/temperature). For more information, see Mapping
Industrial Data Streams to Asset Properties in the AWS IoT SiteWise User Guide.public AssetProperty withAlias(String alias)
The property alias that identifies the property, such as an OPC-UA server data stream path (for example,
/company/windfarm/3/turbine/7/temperature). For more information, see Mapping Industrial
Data Streams to Asset Properties in the AWS IoT SiteWise User Guide.
alias - The property alias that identifies the property, such as an OPC-UA server data stream path (for example,
/company/windfarm/3/turbine/7/temperature). For more information, see Mapping
Industrial Data Streams to Asset Properties in the AWS IoT SiteWise User Guide.public void setNotification(PropertyNotification notification)
The asset property's notification topic and state. For more information, see UpdateAssetProperty
notification - The asset property's notification topic and state. For more information, see UpdateAssetPropertypublic PropertyNotification getNotification()
The asset property's notification topic and state. For more information, see UpdateAssetProperty
public AssetProperty withNotification(PropertyNotification notification)
The asset property's notification topic and state. For more information, see UpdateAssetProperty
notification - The asset property's notification topic and state. For more information, see UpdateAssetPropertypublic void setDataType(String dataType)
The data type of the asset property.
dataType - The data type of the asset property.PropertyDataTypepublic String getDataType()
The data type of the asset property.
PropertyDataTypepublic AssetProperty withDataType(String dataType)
The data type of the asset property.
dataType - The data type of the asset property.PropertyDataTypepublic AssetProperty withDataType(PropertyDataType dataType)
The data type of the asset property.
dataType - The data type of the asset property.PropertyDataTypepublic void setUnit(String unit)
The unit (such as Newtons or RPM) of the asset property.
unit - The unit (such as Newtons or RPM) of the asset property.public String getUnit()
The unit (such as Newtons or RPM) of the asset property.
Newtons or RPM) of the asset property.public AssetProperty withUnit(String unit)
The unit (such as Newtons or RPM) of the asset property.
unit - The unit (such as Newtons or RPM) of the asset property.public String toString()
toString in class ObjectObject.toString()public AssetProperty clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2020. All rights reserved.