@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PutAssetPropertyValueEntry extends Object implements Serializable, Cloneable, StructuredPojo
Contains a list of value updates for an asset property in the list of asset entries consumed by the BatchPutAssetPropertyValue API operation.
Constructor and Description |
---|
PutAssetPropertyValueEntry() |
Modifier and Type | Method and Description |
---|---|
PutAssetPropertyValueEntry |
clone() |
boolean |
equals(Object obj) |
String |
getAssetId()
The ID of the asset to update.
|
String |
getEntryId()
The user specified ID for the entry.
|
String |
getPropertyAlias()
The alias that identifies the property, such as an OPC-UA server data stream path (for example,
/company/windfarm/3/turbine/7/temperature ). |
String |
getPropertyId()
The ID of the asset property for this entry.
|
List<AssetPropertyValue> |
getPropertyValues()
The list of property values to upload.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAssetId(String assetId)
The ID of the asset to update.
|
void |
setEntryId(String entryId)
The user specified ID for the entry.
|
void |
setPropertyAlias(String propertyAlias)
The alias that identifies the property, such as an OPC-UA server data stream path (for example,
/company/windfarm/3/turbine/7/temperature ). |
void |
setPropertyId(String propertyId)
The ID of the asset property for this entry.
|
void |
setPropertyValues(Collection<AssetPropertyValue> propertyValues)
The list of property values to upload.
|
String |
toString()
Returns a string representation of this object.
|
PutAssetPropertyValueEntry |
withAssetId(String assetId)
The ID of the asset to update.
|
PutAssetPropertyValueEntry |
withEntryId(String entryId)
The user specified ID for the entry.
|
PutAssetPropertyValueEntry |
withPropertyAlias(String propertyAlias)
The alias that identifies the property, such as an OPC-UA server data stream path (for example,
/company/windfarm/3/turbine/7/temperature ). |
PutAssetPropertyValueEntry |
withPropertyId(String propertyId)
The ID of the asset property for this entry.
|
PutAssetPropertyValueEntry |
withPropertyValues(AssetPropertyValue... propertyValues)
The list of property values to upload.
|
PutAssetPropertyValueEntry |
withPropertyValues(Collection<AssetPropertyValue> propertyValues)
The list of property values to upload.
|
public void setEntryId(String entryId)
The user specified ID for the entry. You can use this ID to identify which entries failed.
entryId
- The user specified ID for the entry. You can use this ID to identify which entries failed.public String getEntryId()
The user specified ID for the entry. You can use this ID to identify which entries failed.
public PutAssetPropertyValueEntry withEntryId(String entryId)
The user specified ID for the entry. You can use this ID to identify which entries failed.
entryId
- The user specified ID for the entry. You can use this ID to identify which entries failed.public void setAssetId(String assetId)
The ID of the asset to update.
assetId
- The ID of the asset to update.public String getAssetId()
The ID of the asset to update.
public PutAssetPropertyValueEntry withAssetId(String assetId)
The ID of the asset to update.
assetId
- The ID of the asset to update.public void setPropertyId(String propertyId)
The ID of the asset property for this entry.
propertyId
- The ID of the asset property for this entry.public String getPropertyId()
The ID of the asset property for this entry.
public PutAssetPropertyValueEntry withPropertyId(String propertyId)
The ID of the asset property for this entry.
propertyId
- The ID of the asset property for this entry.public void setPropertyAlias(String propertyAlias)
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.
propertyAlias
- 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 getPropertyAlias()
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 PutAssetPropertyValueEntry withPropertyAlias(String propertyAlias)
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.
propertyAlias
- 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 List<AssetPropertyValue> getPropertyValues()
The list of property values to upload. You can specify up to 10 propertyValues
array elements.
propertyValues
array
elements.public void setPropertyValues(Collection<AssetPropertyValue> propertyValues)
The list of property values to upload. You can specify up to 10 propertyValues
array elements.
propertyValues
- The list of property values to upload. You can specify up to 10 propertyValues
array
elements.public PutAssetPropertyValueEntry withPropertyValues(AssetPropertyValue... propertyValues)
The list of property values to upload. You can specify up to 10 propertyValues
array elements.
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
- The list of property values to upload. You can specify up to 10 propertyValues
array
elements.public PutAssetPropertyValueEntry withPropertyValues(Collection<AssetPropertyValue> propertyValues)
The list of property values to upload. You can specify up to 10 propertyValues
array elements.
propertyValues
- The list of property values to upload. You can specify up to 10 propertyValues
array
elements.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.