Interface PutAssetPropertyValueEntry.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<PutAssetPropertyValueEntry.Builder,
,PutAssetPropertyValueEntry> SdkBuilder<PutAssetPropertyValueEntry.Builder,
,PutAssetPropertyValueEntry> SdkPojo
- Enclosing class:
PutAssetPropertyValueEntry
-
Method Summary
Modifier and TypeMethodDescriptionThe ID of the IoT SiteWise asset.Optional.propertyAlias
(String propertyAlias) The name of the property alias associated with your asset property.propertyId
(String propertyId) The ID of the asset's property.propertyValues
(Collection<AssetPropertyValue> propertyValues) A list of property values to insert that each contain timestamp, quality, and value (TQV) information.propertyValues
(Consumer<AssetPropertyValue.Builder>... propertyValues) A list of property values to insert that each contain timestamp, quality, and value (TQV) information.propertyValues
(AssetPropertyValue... propertyValues) A list of property values to insert that each contain timestamp, quality, and value (TQV) information.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
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.
- Parameters:
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:
- Returns a reference to this object so that method calls can be chained together.
-
assetId
The ID of the IoT SiteWise asset. You must specify either a
propertyAlias
or both analiasId
and apropertyId
. Accepts substitution templates.- Parameters:
assetId
- The ID of the IoT SiteWise asset. You must specify either apropertyAlias
or both analiasId
and apropertyId
. Accepts substitution templates.- Returns:
- 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 analiasId
and apropertyId
. Accepts substitution templates.- Parameters:
propertyId
- The ID of the asset's property. You must specify either apropertyAlias
or both analiasId
and apropertyId
. Accepts substitution templates.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
propertyAlias
The name of the property alias associated with your asset property. You must specify either a
propertyAlias
or both analiasId
and apropertyId
. Accepts substitution templates.- Parameters:
propertyAlias
- The name of the property alias associated with your asset property. You must specify either apropertyAlias
or both analiasId
and apropertyId
. Accepts substitution templates.- Returns:
- 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.
- Parameters:
propertyValues
- A list of property values to insert that each contain timestamp, quality, and value (TQV) information.- Returns:
- 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.
- Parameters:
propertyValues
- A list of property values to insert that each contain timestamp, quality, and value (TQV) information.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
propertyValues
PutAssetPropertyValueEntry.Builder propertyValues(Consumer<AssetPropertyValue.Builder>... propertyValues) A list of property values to insert that each contain timestamp, quality, and value (TQV) information.
This is a convenience method that creates an instance of theAssetPropertyValue.Builder
avoiding the need to create one manually viaAssetPropertyValue.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed topropertyValues(List<AssetPropertyValue>)
.- Parameters:
propertyValues
- a consumer that will call methods onAssetPropertyValue.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-