Interface AssetModelSummary.Builder

    • Method Detail

      • id

        AssetModelSummary.Builder id​(String id)

        The ID of the asset model (used with IoT SiteWise API operations).

        Parameters:
        id - The ID of the asset model (used with IoT SiteWise API operations).
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • arn

        AssetModelSummary.Builder arn​(String arn)

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

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

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

        AssetModelSummary.Builder name​(String name)

        The name of the asset model.

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

        AssetModelSummary.Builder description​(String description)

        The asset model description.

        Parameters:
        description - The asset model description.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • creationDate

        AssetModelSummary.Builder creationDate​(Instant creationDate)

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

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

        AssetModelSummary.Builder lastUpdateDate​(Instant lastUpdateDate)

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

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

        AssetModelSummary.Builder status​(AssetModelStatus status)

        The current status of the asset model.

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

        AssetModelSummary.Builder assetModelType​(String assetModelType)

        The type of asset model.

        • ASSET_MODEL – (default) An asset model that you can use to create assets. Can't be included as a component in another asset model.

        • COMPONENT_MODEL – A reusable component that you can include in the composite models of other asset models. You can't create assets directly from this type of asset model.

        Parameters:
        assetModelType - The type of asset model.

        • ASSET_MODEL – (default) An asset model that you can use to create assets. Can't be included as a component in another asset model.

        • COMPONENT_MODEL – A reusable component that you can include in the composite models of other asset models. You can't create assets directly from this type of asset model.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        AssetModelType, AssetModelType
      • assetModelType

        AssetModelSummary.Builder assetModelType​(AssetModelType assetModelType)

        The type of asset model.

        • ASSET_MODEL – (default) An asset model that you can use to create assets. Can't be included as a component in another asset model.

        • COMPONENT_MODEL – A reusable component that you can include in the composite models of other asset models. You can't create assets directly from this type of asset model.

        Parameters:
        assetModelType - The type of asset model.

        • ASSET_MODEL – (default) An asset model that you can use to create assets. Can't be included as a component in another asset model.

        • COMPONENT_MODEL – A reusable component that you can include in the composite models of other asset models. You can't create assets directly from this type of asset model.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        AssetModelType, AssetModelType
      • externalId

        AssetModelSummary.Builder externalId​(String externalId)

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

        Parameters:
        externalId - The external ID of the asset model. 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.