Interface DescribeAssetResponse.Builder

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

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

    • assetId

      The ID of the asset, in UUID format.

      Parameters:
      assetId - The ID of the asset, in UUID format.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • 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.
    • assetName

      DescribeAssetResponse.Builder assetName(String assetName)

      The name of the asset.

      Parameters:
      assetName - The name of the asset.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • assetModelId

      DescribeAssetResponse.Builder assetModelId(String assetModelId)

      The ID of the asset model that was used to create the asset.

      Parameters:
      assetModelId - The ID of the asset model that was used to create the asset.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • assetProperties

      DescribeAssetResponse.Builder assetProperties(Collection<AssetProperty> assetProperties)

      The list of asset properties for the asset.

      This object doesn't include properties that you define in composite models. You can find composite model properties in the assetCompositeModels object.

      Parameters:
      assetProperties - The list of asset properties for the asset.

      This object doesn't include properties that you define in composite models. You can find composite model properties in the assetCompositeModels object.

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

      DescribeAssetResponse.Builder assetProperties(AssetProperty... assetProperties)

      The list of asset properties for the asset.

      This object doesn't include properties that you define in composite models. You can find composite model properties in the assetCompositeModels object.

      Parameters:
      assetProperties - The list of asset properties for the asset.

      This object doesn't include properties that you define in composite models. You can find composite model properties in the assetCompositeModels object.

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

      DescribeAssetResponse.Builder assetProperties(Consumer<AssetProperty.Builder>... assetProperties)

      The list of asset properties for the asset.

      This object doesn't include properties that you define in composite models. You can find composite model properties in the assetCompositeModels object.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to assetProperties(List<AssetProperty>).

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

      DescribeAssetResponse.Builder assetHierarchies(Collection<AssetHierarchy> assetHierarchies)

      A list of asset hierarchies that each contain a hierarchyId. A hierarchy specifies allowed parent/child asset relationships.

      Parameters:
      assetHierarchies - A list of asset hierarchies that each contain a hierarchyId. A hierarchy specifies allowed parent/child asset relationships.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • assetHierarchies

      DescribeAssetResponse.Builder assetHierarchies(AssetHierarchy... assetHierarchies)

      A list of asset hierarchies that each contain a hierarchyId. A hierarchy specifies allowed parent/child asset relationships.

      Parameters:
      assetHierarchies - A list of asset hierarchies that each contain a hierarchyId. A hierarchy specifies allowed parent/child asset relationships.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • assetHierarchies

      DescribeAssetResponse.Builder assetHierarchies(Consumer<AssetHierarchy.Builder>... assetHierarchies)

      A list of asset hierarchies that each contain a hierarchyId. A hierarchy specifies allowed parent/child asset relationships.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to assetHierarchies(List<AssetHierarchy>).

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

      DescribeAssetResponse.Builder assetCompositeModels(Collection<AssetCompositeModel> assetCompositeModels)

      The composite models for the asset.

      Parameters:
      assetCompositeModels - The composite models for the asset.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • assetCompositeModels

      DescribeAssetResponse.Builder assetCompositeModels(AssetCompositeModel... assetCompositeModels)

      The composite models for the asset.

      Parameters:
      assetCompositeModels - The composite models for the asset.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • assetCompositeModels

      DescribeAssetResponse.Builder assetCompositeModels(Consumer<AssetCompositeModel.Builder>... assetCompositeModels)

      The composite models for the asset.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to assetCompositeModels(List<AssetCompositeModel>).

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

      DescribeAssetResponse.Builder assetCreationDate(Instant assetCreationDate)

      The date the asset was created, in Unix epoch time.

      Parameters:
      assetCreationDate - The date the asset was created, in Unix epoch time.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • assetLastUpdateDate

      DescribeAssetResponse.Builder assetLastUpdateDate(Instant assetLastUpdateDate)

      The date the asset was last updated, in Unix epoch time.

      Parameters:
      assetLastUpdateDate - The date the asset was last updated, in Unix epoch time.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • assetStatus

      DescribeAssetResponse.Builder assetStatus(AssetStatus assetStatus)

      The current status of the asset, which contains a state and any error message.

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

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

      The current status of the asset, which contains a state 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:
    • assetDescription

      DescribeAssetResponse.Builder assetDescription(String assetDescription)

      A description for the asset.

      Parameters:
      assetDescription - A description for the asset.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • assetCompositeModelSummaries

      DescribeAssetResponse.Builder assetCompositeModelSummaries(Collection<AssetCompositeModelSummary> assetCompositeModelSummaries)

      The list of the immediate child custom composite model summaries for the asset.

      Parameters:
      assetCompositeModelSummaries - The list of the immediate child custom composite model summaries for the asset.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • assetCompositeModelSummaries

      DescribeAssetResponse.Builder assetCompositeModelSummaries(AssetCompositeModelSummary... assetCompositeModelSummaries)

      The list of the immediate child custom composite model summaries for the asset.

      Parameters:
      assetCompositeModelSummaries - The list of the immediate child custom composite model summaries for the asset.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • assetCompositeModelSummaries

      DescribeAssetResponse.Builder assetCompositeModelSummaries(Consumer<AssetCompositeModelSummary.Builder>... assetCompositeModelSummaries)

      The list of the immediate child custom composite model summaries for the asset.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to assetCompositeModelSummaries(List<AssetCompositeModelSummary>).

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

      DescribeAssetResponse.Builder assetExternalId(String assetExternalId)

      The external ID of the asset, if any.

      Parameters:
      assetExternalId - The external ID of the asset, if any.
      Returns:
      Returns a reference to this object so that method calls can be chained together.