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 asset to update.The user specified ID for the entry.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
).propertyId
(String propertyId) The ID of the asset property for this entry.propertyValues
(Collection<AssetPropertyValue> propertyValues) The list of property values to upload.propertyValues
(Consumer<AssetPropertyValue.Builder>... propertyValues) The list of property values to upload.propertyValues
(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 Details
-
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
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
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
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
The list of property values to upload. You can specify up to 10
propertyValues
array elements.- Parameters:
propertyValues
- The list of property values to upload. You can specify up to 10propertyValues
array elements.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
propertyValues
The list of property values to upload. You can specify up to 10
propertyValues
array elements.- Parameters:
propertyValues
- The list of property values to upload. You can specify up to 10propertyValues
array 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 thepropertyValues
array elements.AssetPropertyValue.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:
-