Interface AssetCompositeModel.Builder

    • Method Detail

      • name

        AssetCompositeModel.Builder name​(String name)

        The name of the composite model.

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

        AssetCompositeModel.Builder description​(String description)

        The description of the composite model.

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

        AssetCompositeModel.Builder type​(String type)

        The type of the composite model. For alarm composite models, this type is AWS/ALARM.

        Parameters:
        type - The type of the composite model. For alarm composite models, this type is AWS/ALARM.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • properties

        AssetCompositeModel.Builder properties​(Collection<AssetProperty> properties)

        The asset properties that this composite model defines.

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

        AssetCompositeModel.Builder properties​(AssetProperty... properties)

        The asset properties that this composite model defines.

        Parameters:
        properties - The asset properties that this composite model defines.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • id

        AssetCompositeModel.Builder id​(String id)

        The ID of the asset composite model.

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

        AssetCompositeModel.Builder externalId​(String externalId)

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

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