public class PutAssetPropertyValueEntry
extends java.lang.Object
implements java.io.Serializable
An asset property value entry containing the following information.
Constructor and Description |
---|
PutAssetPropertyValueEntry() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getAssetId()
The ID of the AWS IoT SiteWise asset.
|
java.lang.String |
getEntryId()
Optional.
|
java.lang.String |
getPropertyAlias()
The name of the property alias associated with your asset property.
|
java.lang.String |
getPropertyId()
The ID of the asset's property.
|
java.util.List<AssetPropertyValue> |
getPropertyValues()
A list of property values to insert that each contain timestamp, quality,
and value (TQV) information.
|
int |
hashCode() |
void |
setAssetId(java.lang.String assetId)
The ID of the AWS IoT SiteWise asset.
|
void |
setEntryId(java.lang.String entryId)
Optional.
|
void |
setPropertyAlias(java.lang.String propertyAlias)
The name of the property alias associated with your asset property.
|
void |
setPropertyId(java.lang.String propertyId)
The ID of the asset's property.
|
void |
setPropertyValues(java.util.Collection<AssetPropertyValue> propertyValues)
A list of property values to insert that each contain timestamp, quality,
and value (TQV) information.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
PutAssetPropertyValueEntry |
withAssetId(java.lang.String assetId)
The ID of the AWS IoT SiteWise asset.
|
PutAssetPropertyValueEntry |
withEntryId(java.lang.String entryId)
Optional.
|
PutAssetPropertyValueEntry |
withPropertyAlias(java.lang.String propertyAlias)
The name of the property alias associated with your asset property.
|
PutAssetPropertyValueEntry |
withPropertyId(java.lang.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(java.util.Collection<AssetPropertyValue> propertyValues)
A list of property values to insert that each contain timestamp, quality,
and value (TQV) information.
|
public java.lang.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(java.lang.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(java.lang.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 java.lang.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(java.lang.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(java.lang.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 java.lang.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(java.lang.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(java.lang.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 java.lang.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 -
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(java.lang.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 -
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(java.lang.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 -
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 java.util.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(java.util.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(java.util.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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.