@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AssetPropertySummary extends Object implements Serializable, Cloneable, StructuredPojo
Contains a summary of a property associated with an asset.
Constructor and Description |
---|
AssetPropertySummary() |
Modifier and Type | Method and Description |
---|---|
AssetPropertySummary |
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 |
getAssetCompositeModelId()
The ID of the composite model that contains the asset property.
|
String |
getExternalId()
The external ID of the property.
|
String |
getId()
The ID of the property.
|
PropertyNotification |
getNotification() |
List<AssetPropertyPathSegment> |
getPath()
The structured path to the property from the root of the asset.
|
String |
getUnit()
The unit of measure (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 |
setAssetCompositeModelId(String assetCompositeModelId)
The ID of the composite model that contains the asset property.
|
void |
setExternalId(String externalId)
The external ID of the property.
|
void |
setId(String id)
The ID of the property.
|
void |
setNotification(PropertyNotification notification) |
void |
setPath(Collection<AssetPropertyPathSegment> path)
The structured path to the property from the root of the asset.
|
void |
setUnit(String unit)
The unit of measure (such as Newtons or RPM) of the asset property.
|
String |
toString()
Returns a string representation of this object.
|
AssetPropertySummary |
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 ). |
AssetPropertySummary |
withAssetCompositeModelId(String assetCompositeModelId)
The ID of the composite model that contains the asset property.
|
AssetPropertySummary |
withExternalId(String externalId)
The external ID of the property.
|
AssetPropertySummary |
withId(String id)
The ID of the property.
|
AssetPropertySummary |
withNotification(PropertyNotification notification) |
AssetPropertySummary |
withPath(AssetPropertyPathSegment... path)
The structured path to the property from the root of the asset.
|
AssetPropertySummary |
withPath(Collection<AssetPropertyPathSegment> path)
The structured path to the property from the root of the asset.
|
AssetPropertySummary |
withUnit(String unit)
The unit of measure (such as Newtons or RPM) of the asset property.
|
public void setId(String id)
The ID of the property.
id
- The ID of the property.public String getId()
The ID of the property.
public AssetPropertySummary withId(String id)
The ID of the property.
id
- The ID 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 AssetPropertySummary 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 setUnit(String unit)
The unit of measure (such as Newtons or RPM) of the asset property.
unit
- The unit of measure (such as Newtons or RPM) of the asset property.public String getUnit()
The unit of measure (such as Newtons or RPM) of the asset property.
public AssetPropertySummary withUnit(String unit)
The unit of measure (such as Newtons or RPM) of the asset property.
unit
- The unit of measure (such as Newtons or RPM) of the asset property.public void setNotification(PropertyNotification notification)
notification
- public PropertyNotification getNotification()
public AssetPropertySummary withNotification(PropertyNotification notification)
notification
- public void setAssetCompositeModelId(String assetCompositeModelId)
The ID of the composite model that contains the asset property.
assetCompositeModelId
- The ID of the composite model that contains the asset property.public String getAssetCompositeModelId()
The ID of the composite model that contains the asset property.
public AssetPropertySummary withAssetCompositeModelId(String assetCompositeModelId)
The ID of the composite model that contains the asset property.
assetCompositeModelId
- The ID of the composite model that contains the asset property.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 AssetPropertySummary 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 AssetPropertySummary 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 property. For more information, see Using external IDs in the IoT SiteWise User Guide.
externalId
- The external ID of the property. For more information, see Using
external IDs in the IoT SiteWise User Guide.public String getExternalId()
The external ID of the property. For more information, see Using external IDs in the IoT SiteWise User Guide.
public AssetPropertySummary withExternalId(String externalId)
The external ID of the property. For more information, see Using external IDs in the IoT SiteWise User Guide.
externalId
- The external ID of the property. For more information, see Using
external IDs in the IoT SiteWise User Guide.public String toString()
toString
in class Object
Object.toString()
public AssetPropertySummary clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.