Interface AssetSummary.Builder

    • Method Detail

      • id

        AssetSummary.Builder id​(String id)

        The ID of the asset, in UUID format.

        Parameters:
        id - The ID of the asset, in UUID format.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • arn

        AssetSummary.Builder arn​(String arn)

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

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

        Parameters:
        arn - 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.
      • name

        AssetSummary.Builder name​(String name)

        The name of the asset.

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

        AssetSummary.Builder assetModelId​(String assetModelId)

        The ID of the asset model used to create this asset.

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

        AssetSummary.Builder creationDate​(Instant creationDate)

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

        Parameters:
        creationDate - 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.
      • lastUpdateDate

        AssetSummary.Builder lastUpdateDate​(Instant lastUpdateDate)

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

        Parameters:
        lastUpdateDate - 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.
      • status

        AssetSummary.Builder status​(AssetStatus status)

        The current status of the asset.

        Parameters:
        status - The current status of the asset.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • hierarchies

        AssetSummary.Builder hierarchies​(Collection<AssetHierarchy> hierarchies)

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

        Parameters:
        hierarchies - 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.
      • hierarchies

        AssetSummary.Builder hierarchies​(AssetHierarchy... hierarchies)

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

        Parameters:
        hierarchies - 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.
      • description

        AssetSummary.Builder description​(String description)

        A description for the asset.

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

        AssetSummary.Builder externalId​(String externalId)

        The external ID of the asset. For more information, see Using external IDs in the IoT SiteWise User Guide.

        Parameters:
        externalId - The external ID of the asset. For more information, see Using external IDs in the IoT SiteWise User Guide.
        Returns:
        Returns a reference to this object so that method calls can be chained together.