Interface DeleteAssetResponse.Builder

All Superinterfaces:
AwsResponse.Builder, Buildable, CopyableBuilder<DeleteAssetResponse.Builder,DeleteAssetResponse>, IoTSiteWiseResponse.Builder, SdkBuilder<DeleteAssetResponse.Builder,DeleteAssetResponse>, SdkPojo, SdkResponse.Builder
Enclosing class:
DeleteAssetResponse

public static interface DeleteAssetResponse.Builder extends IoTSiteWiseResponse.Builder, SdkPojo, CopyableBuilder<DeleteAssetResponse.Builder,DeleteAssetResponse>
  • Method Details

    • assetStatus

      DeleteAssetResponse.Builder assetStatus(AssetStatus assetStatus)

      The status of the asset, which contains a state (DELETING after successfully calling this operation) and any error message.

      Parameters:
      assetStatus - The status of the asset, which contains a state (DELETING after successfully calling this operation) and any error message.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • assetStatus

      default DeleteAssetResponse.Builder assetStatus(Consumer<AssetStatus.Builder> assetStatus)

      The status of the asset, which contains a state (DELETING after successfully calling this operation) and any error message.

      This is a convenience method that creates an instance of the AssetStatus.Builder avoiding the need to create one manually via AssetStatus.builder().

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

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