@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PutAssetPropertyValueEntry extends Object implements Serializable, Cloneable, StructuredPojo
An asset property value entry containing the following information.
Constructor and Description |
---|
PutAssetPropertyValueEntry() |
Modifier and Type | Method and Description |
---|---|
PutAssetPropertyValueEntry |
clone() |
boolean |
equals(Object obj) |
String |
getAssetId()
The ID of the 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 |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAssetId(String assetId)
The ID of the 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.
|
PutAssetPropertyValueEntry |
withAssetId(String assetId)
The ID of the 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 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 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.
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.
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 void setAssetId(String assetId)
The ID of the IoT SiteWise asset. You must specify either a propertyAlias
or both an
aliasId
and a propertyId
. Accepts substitution templates.
assetId
- The ID of the IoT SiteWise asset. You must specify either a propertyAlias
or both an
aliasId
and a propertyId
. Accepts substitution templates.public String getAssetId()
The ID of the IoT SiteWise asset. You must specify either a propertyAlias
or both an
aliasId
and a propertyId
. Accepts substitution templates.
propertyAlias
or both an
aliasId
and a propertyId
. Accepts substitution templates.public PutAssetPropertyValueEntry withAssetId(String assetId)
The ID of the IoT SiteWise asset. You must specify either a propertyAlias
or both an
aliasId
and a propertyId
. Accepts substitution templates.
assetId
- The ID of the IoT SiteWise asset. 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 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.
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.
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 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.
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 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.
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.
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.
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.
NOTE: This method appends the values to the existing list (if any). Use
setPropertyValues(java.util.Collection)
or withPropertyValues(java.util.Collection)
if you want
to override the existing values.
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.
propertyValues
- A list of property values to insert that each contain timestamp, quality, and value (TQV) information.public String toString()
toString
in class Object
Object.toString()
public PutAssetPropertyValueEntry clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.