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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description IotSiteWiseAction.BuilderassetId(String assetId)The ID of the asset that has the specified property.IotSiteWiseAction.BuilderentryId(String entryId)A unique identifier for this entry.IotSiteWiseAction.BuilderpropertyAlias(String propertyAlias)The alias of the asset property.IotSiteWiseAction.BuilderpropertyId(String propertyId)The ID of the asset property.default IotSiteWiseAction.BuilderpropertyValue(Consumer<AssetPropertyValue.Builder> propertyValue)The value to send to the asset property.IotSiteWiseAction.BuilderpropertyValue(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 Detail
-
entryId
IotSiteWiseAction.Builder entryId(String 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
IotSiteWiseAction.Builder assetId(String 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
IotSiteWiseAction.Builder propertyId(String 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
IotSiteWiseAction.Builder propertyAlias(String 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
IotSiteWiseAction.Builder propertyValue(AssetPropertyValue 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
default IotSiteWiseAction.Builder propertyValue(Consumer<AssetPropertyValue.Builder> 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.Builderavoiding the need to create one manually viaAssetPropertyValue.builder().When the
Consumercompletes,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:
propertyValue(AssetPropertyValue)
-
-