Interface IotSiteWiseAction.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<IotSiteWiseAction.Builder,
,IotSiteWiseAction> SdkBuilder<IotSiteWiseAction.Builder,
,IotSiteWiseAction> SdkPojo
- Enclosing class:
IotSiteWiseAction
public static interface IotSiteWiseAction.Builder
extends SdkPojo, CopyableBuilder<IotSiteWiseAction.Builder,IotSiteWiseAction>
-
Method Summary
Modifier and TypeMethodDescriptionThe ID of the asset that has the specified property.A unique identifier for this entry.propertyAlias
(String propertyAlias) The alias of the asset property.propertyId
(String propertyId) The ID of the asset property.default IotSiteWiseAction.Builder
propertyValue
(Consumer<AssetPropertyValue.Builder> propertyValue) The value to send to the asset property.propertyValue
(AssetPropertyValue propertyValue) The value to send to the asset property.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
A unique identifier for this entry. You can use the entry ID to track which data entry causes an error in case of failure. The default is a new unique identifier.
- Parameters:
entryId
- A unique identifier for this entry. You can use the entry ID to track which data entry causes an error in case of failure. The default is a new unique identifier.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
assetId
The ID of the asset that has the specified property.
- Parameters:
assetId
- The ID of the asset that has the specified property.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
propertyId
The ID of the asset property.
- Parameters:
propertyId
- The ID of the asset property.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
propertyAlias
The alias of the asset property.
- Parameters:
propertyAlias
- The alias of the asset property.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
propertyValue
The value to send to the asset property. This value contains timestamp, quality, and value (TQV) information.
- Parameters:
propertyValue
- The value to send to the asset property. This value contains timestamp, quality, and value (TQV) information.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
propertyValue
The value to send to the asset property. This value contains 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 topropertyValue(AssetPropertyValue)
.- Parameters:
propertyValue
- 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:
-