public class PutAssetPropertyValueEntry extends Object implements Serializable
An asset property value entry containing the following information.
| Constructor and Description |
|---|
PutAssetPropertyValueEntry() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getAssetId()
The ID of the AWS IoT SiteWise asset.
|
String |
getEntryId()
Optional.
|
String |
getPropertyAlias()
The name of the property alias associated with your asset property.
|
String |
getPropertyId()
The ID of the asset's property.
|
List<AssetPropertyValue> |
getPropertyValues()
A list of property values to insert that each contain timestamp, quality,
and value (TQV) information.
|
int |
hashCode() |
void |
setAssetId(String assetId)
The ID of the AWS IoT SiteWise asset.
|
void |
setEntryId(String entryId)
Optional.
|
void |
setPropertyAlias(String propertyAlias)
The name of the property alias associated with your asset property.
|
void |
setPropertyId(String propertyId)
The ID of the asset's property.
|
void |
setPropertyValues(Collection<AssetPropertyValue> propertyValues)
A list of property values to insert that each contain timestamp, quality,
and value (TQV) information.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
PutAssetPropertyValueEntry |
withAssetId(String assetId)
The ID of the AWS IoT SiteWise asset.
|
PutAssetPropertyValueEntry |
withEntryId(String entryId)
Optional.
|
PutAssetPropertyValueEntry |
withPropertyAlias(String propertyAlias)
The name of the property alias associated with your asset property.
|
PutAssetPropertyValueEntry |
withPropertyId(String propertyId)
The ID of the asset's property.
|
PutAssetPropertyValueEntry |
withPropertyValues(AssetPropertyValue... propertyValues)
A list of property values to insert that each contain timestamp, quality,
and value (TQV) information.
|
PutAssetPropertyValueEntry |
withPropertyValues(Collection<AssetPropertyValue> propertyValues)
A list of property values to insert that each contain timestamp, quality,
and value (TQV) information.
|
public String getEntryId()
Optional. A unique identifier for this entry that you can define to better track which message caused an error in case of failure. Accepts substitution templates. Defaults to a new UUID.
Optional. A unique identifier for this entry that you can define to better track which message caused an error in case of failure. Accepts substitution templates. Defaults to a new UUID.
public void setEntryId(String entryId)
Optional. A unique identifier for this entry that you can define to better track which message caused an error in case of failure. Accepts substitution templates. Defaults to a new UUID.
entryId - Optional. A unique identifier for this entry that you can define to better track which message caused an error in case of failure. Accepts substitution templates. Defaults to a new UUID.
public PutAssetPropertyValueEntry withEntryId(String entryId)
Optional. A unique identifier for this entry that you can define to better track which message caused an error in case of failure. Accepts substitution templates. Defaults to a new UUID.
Returns a reference to this object so that method calls can be chained together.
entryId - Optional. A unique identifier for this entry that you can define to better track which message caused an error in case of failure. Accepts substitution templates. Defaults to a new UUID.
public String getAssetId()
The ID of the AWS IoT SiteWise asset. You must specify either a
propertyAlias or both an aliasId and a
propertyId. Accepts substitution templates.
The ID of the AWS IoT SiteWise asset. You must specify either a
propertyAlias or both an aliasId and a
propertyId. Accepts substitution templates.
public void setAssetId(String assetId)
The ID of the AWS IoT SiteWise asset. You must specify either a
propertyAlias or both an aliasId and a
propertyId. Accepts substitution templates.
assetId -
The ID of the AWS IoT SiteWise asset. You must specify either
a propertyAlias or both an aliasId
and a propertyId. Accepts substitution templates.
public PutAssetPropertyValueEntry withAssetId(String assetId)
The ID of the AWS IoT SiteWise asset. You must specify either a
propertyAlias or both an aliasId and a
propertyId. Accepts substitution templates.
Returns a reference to this object so that method calls can be chained together.
assetId -
The ID of the AWS IoT SiteWise asset. You must specify either
a propertyAlias or both an aliasId
and a propertyId. Accepts substitution templates.
public String getPropertyId()
The ID of the asset's property. You must specify either a
propertyAlias or both an aliasId and a
propertyId. Accepts substitution templates.
The ID of the asset's property. You must specify either a
propertyAlias or both an aliasId and a
propertyId. Accepts substitution templates.
public void setPropertyId(String propertyId)
The ID of the asset's property. You must specify either a
propertyAlias or both an aliasId and a
propertyId. Accepts substitution templates.
propertyId -
The ID of the asset's property. You must specify either a
propertyAlias or both an aliasId and
a propertyId. Accepts substitution templates.
public PutAssetPropertyValueEntry withPropertyId(String propertyId)
The ID of the asset's property. You must specify either a
propertyAlias or both an aliasId and a
propertyId. Accepts substitution templates.
Returns a reference to this object so that method calls can be chained together.
propertyId -
The ID of the asset's property. You must specify either a
propertyAlias or both an aliasId and
a propertyId. Accepts substitution templates.
public String getPropertyAlias()
The name of the property alias associated with your asset property. You
must specify either a propertyAlias or both an
aliasId and a propertyId. Accepts substitution
templates.
Constraints:
Length: 1 - 2048
The name of the property alias associated with your asset
property. You must specify either a propertyAlias or
both an aliasId and a propertyId.
Accepts substitution templates.
public void setPropertyAlias(String propertyAlias)
The name of the property alias associated with your asset property. You
must specify either a propertyAlias or both an
aliasId and a propertyId. Accepts substitution
templates.
Constraints:
Length: 1 - 2048
propertyAlias -
The name of the property alias associated with your asset
property. You must specify either a propertyAlias
or both an aliasId and a propertyId.
Accepts substitution templates.
public PutAssetPropertyValueEntry withPropertyAlias(String propertyAlias)
The name of the property alias associated with your asset property. You
must specify either a propertyAlias or both an
aliasId and a propertyId. Accepts substitution
templates.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 2048
propertyAlias -
The name of the property alias associated with your asset
property. You must specify either a propertyAlias
or both an aliasId and a propertyId.
Accepts substitution templates.
public List<AssetPropertyValue> getPropertyValues()
A list of property values to insert that each contain timestamp, quality, and value (TQV) information.
A list of property values to insert that each contain timestamp, quality, and value (TQV) information.
public void setPropertyValues(Collection<AssetPropertyValue> propertyValues)
A list of property values to insert that each contain timestamp, quality, and value (TQV) information.
propertyValues - A list of property values to insert that each contain timestamp, quality, and value (TQV) information.
public PutAssetPropertyValueEntry withPropertyValues(AssetPropertyValue... propertyValues)
A list of property values to insert that each contain timestamp, quality, and value (TQV) information.
Returns a reference to this object so that method calls can be chained together.
propertyValues - A list of property values to insert that each contain timestamp, quality, and value (TQV) information.
public PutAssetPropertyValueEntry withPropertyValues(Collection<AssetPropertyValue> propertyValues)
A list of property values to insert that each contain timestamp, quality, and value (TQV) information.
Returns a reference to this object so that method calls can be chained together.
propertyValues - A list of property values to insert that each contain timestamp, quality, and value (TQV) information.
public String toString()
toString in class ObjectObject.toString()Copyright © 2020. All rights reserved.