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 asset to update.PutAssetPropertyValueEntry.BuilderentryId(String entryId)The user specified ID for the entry.PutAssetPropertyValueEntry.BuilderpropertyAlias(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.BuilderpropertyId(String propertyId)The ID of the asset property for this entry.PutAssetPropertyValueEntry.BuilderpropertyValues(Collection<AssetPropertyValue> propertyValues)The list of property values to upload.PutAssetPropertyValueEntry.BuilderpropertyValues(Consumer<AssetPropertyValue.Builder>... propertyValues)The list of property values to upload.PutAssetPropertyValueEntry.BuilderpropertyValues(AssetPropertyValue... propertyValues)The list of property values to upload.-
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)
The user specified ID for the entry. You can use this ID to identify which entries failed.
- Parameters:
entryId- The user specified ID for the entry. You can use this ID to identify which entries failed.- 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 asset to update.
- Parameters:
assetId- The ID of the asset to update.- 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 property for this entry.
- Parameters:
propertyId- The ID of the asset property for this entry.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
propertyAlias
PutAssetPropertyValueEntry.Builder propertyAlias(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.- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
propertyValues
PutAssetPropertyValueEntry.Builder propertyValues(Collection<AssetPropertyValue> propertyValues)
The list of property values to upload. You can specify up to 10
propertyValuesarray elements.- Parameters:
propertyValues- The list of property values to upload. You can specify up to 10propertyValuesarray elements.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
propertyValues
PutAssetPropertyValueEntry.Builder propertyValues(AssetPropertyValue... propertyValues)
The list of property values to upload. You can specify up to 10
propertyValuesarray elements.- Parameters:
propertyValues- The list of property values to upload. You can specify up to 10propertyValuesarray elements.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
propertyValues
PutAssetPropertyValueEntry.Builder propertyValues(Consumer<AssetPropertyValue.Builder>... propertyValues)
The list of property values to upload. You can specify up to 10
This is a convenience method that creates an instance of thepropertyValuesarray elements.AssetPropertyValue.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)
-
-