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 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

      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 the AssetPropertyValue.Builder avoiding the need to create one manually via AssetPropertyValue.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to propertyValue(AssetPropertyValue).

      Parameters:
      propertyValue - a consumer that will call methods on AssetPropertyValue.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: