Interface PutAssetPropertyValueEntry.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<PutAssetPropertyValueEntry.Builder,PutAssetPropertyValueEntry>
,SdkBuilder<PutAssetPropertyValueEntry.Builder,PutAssetPropertyValueEntry>
,SdkPojo
- Enclosing class:
- PutAssetPropertyValueEntry
public static interface PutAssetPropertyValueEntry.Builder extends SdkPojo, CopyableBuilder<PutAssetPropertyValueEntry.Builder,PutAssetPropertyValueEntry>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PutAssetPropertyValueEntry.Builder
assetId(String assetId)
The ID of the IoT SiteWise asset.PutAssetPropertyValueEntry.Builder
entryId(String entryId)
Optional.PutAssetPropertyValueEntry.Builder
propertyAlias(String propertyAlias)
The name of the property alias associated with your asset property.PutAssetPropertyValueEntry.Builder
propertyId(String propertyId)
The ID of the asset's property.PutAssetPropertyValueEntry.Builder
propertyValues(Collection<AssetPropertyValue> propertyValues)
A list of property values to insert that each contain timestamp, quality, and value (TQV) information.PutAssetPropertyValueEntry.Builder
propertyValues(Consumer<AssetPropertyValue.Builder>... propertyValues)
A list of property values to insert that each contain timestamp, quality, and value (TQV) information.PutAssetPropertyValueEntry.Builder
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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
entryId
PutAssetPropertyValueEntry.Builder entryId(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.
- 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
PutAssetPropertyValueEntry.Builder assetId(String 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
PutAssetPropertyValueEntry.Builder propertyId(String 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
PutAssetPropertyValueEntry.Builder propertyAlias(String 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
PutAssetPropertyValueEntry.Builder propertyValues(Collection<AssetPropertyValue> 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(AssetPropertyValue... 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 to#propertyValues(List
.) - 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:
#propertyValues(java.util.Collection
)
-
-