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.BuilderassetId(String assetId)The ID of the IoT SiteWise asset.PutAssetPropertyValueEntry.BuilderentryId(String entryId)Optional.PutAssetPropertyValueEntry.BuilderpropertyAlias(String propertyAlias)The name of the property alias associated with your asset property.PutAssetPropertyValueEntry.BuilderpropertyId(String propertyId)The ID of the asset's property.PutAssetPropertyValueEntry.BuilderpropertyValues(Collection<AssetPropertyValue> propertyValues)A list of property values to insert that each contain timestamp, quality, and value (TQV) information.PutAssetPropertyValueEntry.BuilderpropertyValues(Consumer<AssetPropertyValue.Builder>... propertyValues)A list of property values to insert that each contain timestamp, quality, and value (TQV) information.PutAssetPropertyValueEntry.BuilderpropertyValues(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 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
propertyAliasor both analiasIdand apropertyId. Accepts substitution templates.- Parameters:
assetId- The ID of the IoT SiteWise asset. You must specify either apropertyAliasor both analiasIdand 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
propertyAliasor both analiasIdand apropertyId. Accepts substitution templates.- Parameters:
propertyId- The ID of the asset's property. You must specify either apropertyAliasor both analiasIdand 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
propertyAliasor both analiasIdand apropertyId. Accepts substitution templates.- Parameters:
propertyAlias- The name of the property alias associated with your asset property. You must specify either apropertyAliasor both analiasIdand 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.Builderavoiding the need to create one manually viaAssetPropertyValue.builder().When the
Consumercompletes,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)
-
-