Interface CreateAssetResponse.Builder

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

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

    • assetId

      The ID of the asset, in UUID format. This ID uniquely identifies the asset within IoT SiteWise and can be used with other IoT SiteWise API operations.

      Parameters:
      assetId - The ID of the asset, in UUID format. This ID uniquely identifies the asset within IoT SiteWise and can be used with other IoT SiteWise API operations.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • assetArn

      CreateAssetResponse.Builder assetArn(String assetArn)

      The ARN of the asset, which has the following format.

      arn:${Partition}:iotsitewise:${Region}:${Account}:asset/${AssetId}

      Parameters:
      assetArn - The ARN of the asset, which has the following format.

      arn:${Partition}:iotsitewise:${Region}:${Account}:asset/${AssetId}

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • assetStatus

      CreateAssetResponse.Builder assetStatus(AssetStatus assetStatus)

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

      Parameters:
      assetStatus - The status of the asset, which contains a state (CREATING 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 CreateAssetResponse.Builder assetStatus(Consumer<AssetStatus.Builder> assetStatus)

      The status of the asset, which contains a state (CREATING 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: