@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 |
getDataTypeSpec()
The data type of the structure for this 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)
Marshalls this structured data using the given
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 |
setDataTypeSpec(String dataTypeSpec)
The data type of the structure for this 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 |
withDataTypeSpec(String dataTypeSpec)
The data type of the structure for this 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 UpdateAssetProperty.public 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 UpdateAssetProperty.public 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 setDataTypeSpec(String dataTypeSpec)
The data type of the structure for this property. This parameter exists on properties that have the
STRUCT data type.
dataTypeSpec - The data type of the structure for this property. This parameter exists on properties that have the
STRUCT data type.public String getDataTypeSpec()
The data type of the structure for this property. This parameter exists on properties that have the
STRUCT data type.
STRUCT data type.public AssetProperty withDataTypeSpec(String dataTypeSpec)
The data type of the structure for this property. This parameter exists on properties that have the
STRUCT data type.
dataTypeSpec - The data type of the structure for this property. This parameter exists on properties that have the
STRUCT data type.public 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)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.