Interface CreateAssetModelResponse.Builder

  • Method Details

    • assetModelId

      CreateAssetModelResponse.Builder assetModelId(String assetModelId)

      The ID of the asset model, in UUID format. You can use this ID when you call other IoT SiteWise API operations.

      Parameters:
      assetModelId - The ID of the asset model, in UUID format. You can use this ID when you call other IoT SiteWise API operations.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • assetModelArn

      CreateAssetModelResponse.Builder assetModelArn(String assetModelArn)

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

      arn:${Partition}:iotsitewise:${Region}:${Account}:asset-model/${AssetModelId}

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

      arn:${Partition}:iotsitewise:${Region}:${Account}:asset-model/${AssetModelId}

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

      CreateAssetModelResponse.Builder assetModelStatus(AssetModelStatus assetModelStatus)

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

      Parameters:
      assetModelStatus - The status of the asset model, 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.
    • assetModelStatus

      default CreateAssetModelResponse.Builder assetModelStatus(Consumer<AssetModelStatus.Builder> assetModelStatus)

      The status of the asset model, 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 AssetModelStatus.Builder avoiding the need to create one manually via AssetModelStatus.builder().

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

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