@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Property extends Object implements Serializable, Cloneable, StructuredPojo
Contains asset property information.
Constructor and Description |
---|
Property() |
Modifier and Type | Method and Description |
---|---|
Property |
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 property data type.
|
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.
|
PropertyType |
getType()
The property type (see
PropertyType ). |
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 property data type.
|
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 |
setType(PropertyType type)
The property type (see
PropertyType ). |
void |
setUnit(String unit)
The unit (such as
Newtons or RPM ) of the asset property. |
String |
toString()
Returns a string representation of this object.
|
Property |
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 ). |
Property |
withDataType(PropertyDataType dataType)
The property data type.
|
Property |
withDataType(String dataType)
The property data type.
|
Property |
withId(String id)
The ID of the asset property.
|
Property |
withName(String name)
The name of the property.
|
Property |
withNotification(PropertyNotification notification)
The asset property's notification topic and state.
|
Property |
withType(PropertyType type)
The property type (see
PropertyType ). |
Property |
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 Property 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 Property 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 Property 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 Property 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 property data type.
dataType
- The property data type.PropertyDataType
public String getDataType()
The property data type.
PropertyDataType
public Property withDataType(String dataType)
The property data type.
dataType
- The property data type.PropertyDataType
public Property withDataType(PropertyDataType dataType)
The property data type.
dataType
- The property data type.PropertyDataType
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 Property 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 void setType(PropertyType type)
The property type (see PropertyType
). A property contains one type.
type
- The property type (see PropertyType
). A property contains one type.public PropertyType getType()
The property type (see PropertyType
). A property contains one type.
PropertyType
). A property contains one type.public Property withType(PropertyType type)
The property type (see PropertyType
). A property contains one type.
type
- The property type (see PropertyType
). A property contains one type.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.