@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 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 |
getExternalId()
The external ID 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.
|
List<AssetPropertyPathSegment> |
getPath()
The structured path to the property from the root of the asset.
|
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 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 |
setExternalId(String externalId)
The external ID 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 |
setPath(Collection<AssetPropertyPathSegment> path)
The structured path to the property from the root of the asset.
|
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 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 |
withExternalId(String externalId)
The external ID of the asset property.
|
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 |
withPath(AssetPropertyPathSegment... path)
The structured path to the property from the root of the asset.
|
Property |
withPath(Collection<AssetPropertyPathSegment> path)
The structured path to the property from the root of the asset.
|
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 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 IoT SiteWise User Guide.
alias
- The 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 IoT SiteWise User Guide.public String getAlias()
The 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 IoT SiteWise User Guide.
/company/windfarm/3/turbine/7/temperature
). For more information, see Mapping
industrial data streams to asset properties in the IoT SiteWise User Guide.public Property withAlias(String alias)
The 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 IoT SiteWise User Guide.
alias
- The 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 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 List<AssetPropertyPathSegment> getPath()
The structured path to the property from the root of the asset.
public void setPath(Collection<AssetPropertyPathSegment> path)
The structured path to the property from the root of the asset.
path
- The structured path to the property from the root of the asset.public Property withPath(AssetPropertyPathSegment... path)
The structured path to the property from the root of the asset.
NOTE: This method appends the values to the existing list (if any). Use
setPath(java.util.Collection)
or withPath(java.util.Collection)
if you want to override the
existing values.
path
- The structured path to the property from the root of the asset.public Property withPath(Collection<AssetPropertyPathSegment> path)
The structured path to the property from the root of the asset.
path
- The structured path to the property from the root of the asset.public void setExternalId(String externalId)
The external ID of the asset property. For more information, see Using external IDs in the IoT SiteWise User Guide.
externalId
- The external ID of the asset property. For more information, see Using
external IDs in the IoT SiteWise User Guide.public String getExternalId()
The external ID of the asset property. For more information, see Using external IDs in the IoT SiteWise User Guide.
public Property withExternalId(String externalId)
The external ID of the asset property. For more information, see Using external IDs in the IoT SiteWise User Guide.
externalId
- The external ID of the asset property. For more information, see Using
external IDs in the IoT SiteWise User Guide.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.