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 Details

    • entryId

      Optional. A unique identifier for this entry that you can define to better track which message caused an error in case of failure. Accepts substitution templates. Defaults to a new UUID.

      Parameters:
      entryId - Optional. A unique identifier for this entry that you can define to better track which message caused an error in case of failure. Accepts substitution templates. Defaults to a new UUID.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • assetId

      The ID of the IoT SiteWise asset. You must specify either a propertyAlias or both an aliasId and a propertyId. Accepts substitution templates.

      Parameters:
      assetId - The ID of the IoT SiteWise asset. You must specify either a propertyAlias or both an aliasId and a propertyId. Accepts substitution templates.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • propertyId

      The ID of the asset's property. You must specify either a propertyAlias or both an aliasId and a propertyId. Accepts substitution templates.

      Parameters:
      propertyId - The ID of the asset's property. You must specify either a propertyAlias or both an aliasId and a propertyId. Accepts substitution templates.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • propertyAlias

      PutAssetPropertyValueEntry.Builder propertyAlias(String propertyAlias)

      The name of the property alias associated with your asset property. You must specify either a propertyAlias or both an aliasId and a propertyId. Accepts substitution templates.

      Parameters:
      propertyAlias - The name of the property alias associated with your asset property. You must specify either a propertyAlias or both an aliasId and a propertyId. Accepts substitution templates.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • propertyValues

      A list of property values to insert that each contain timestamp, quality, and value (TQV) information.

      Parameters:
      propertyValues - A list of property values to insert that each contain timestamp, quality, and value (TQV) information.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • propertyValues

      PutAssetPropertyValueEntry.Builder propertyValues(AssetPropertyValue... propertyValues)

      A list of property values to insert that each contain timestamp, quality, and value (TQV) information.

      Parameters:
      propertyValues - A list of property values to insert that each contain timestamp, quality, and value (TQV) information.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • propertyValues

      A list of property values to insert that each contain 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 propertyValues(List<AssetPropertyValue>).

      Parameters:
      propertyValues - 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: