Interface DescribeAssetModelResponse.Builder

    • Method Detail

      • assetModelId

        DescribeAssetModelResponse.Builder assetModelId​(String assetModelId)

        The ID of the asset model.

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

        DescribeAssetModelResponse.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.
      • assetModelName

        DescribeAssetModelResponse.Builder assetModelName​(String assetModelName)

        The name of the asset model.

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

        DescribeAssetModelResponse.Builder assetModelDescription​(String assetModelDescription)

        The asset model's description.

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

        DescribeAssetModelResponse.Builder assetModelProperties​(Collection<AssetModelProperty> assetModelProperties)

        The list of asset properties for the asset model.

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

        Parameters:
        assetModelProperties - The list of asset properties for the asset model.

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

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

        DescribeAssetModelResponse.Builder assetModelProperties​(AssetModelProperty... assetModelProperties)

        The list of asset properties for the asset model.

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

        Parameters:
        assetModelProperties - The list of asset properties for the asset model.

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

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

        DescribeAssetModelResponse.Builder assetModelProperties​(Consumer<AssetModelProperty.Builder>... assetModelProperties)

        The list of asset properties for the asset model.

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

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

        When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to #assetModelProperties(List).

        Parameters:
        assetModelProperties - a consumer that will call methods on AssetModelProperty.Builder
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        #assetModelProperties(java.util.Collection)
      • assetModelHierarchies

        DescribeAssetModelResponse.Builder assetModelHierarchies​(Collection<AssetModelHierarchy> assetModelHierarchies)

        A list of asset model hierarchies that each contain a childAssetModelId and a hierarchyId (named id). A hierarchy specifies allowed parent/child asset relationships for an asset model.

        Parameters:
        assetModelHierarchies - A list of asset model hierarchies that each contain a childAssetModelId and a hierarchyId (named id). A hierarchy specifies allowed parent/child asset relationships for an asset model.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • assetModelHierarchies

        DescribeAssetModelResponse.Builder assetModelHierarchies​(AssetModelHierarchy... assetModelHierarchies)

        A list of asset model hierarchies that each contain a childAssetModelId and a hierarchyId (named id). A hierarchy specifies allowed parent/child asset relationships for an asset model.

        Parameters:
        assetModelHierarchies - A list of asset model hierarchies that each contain a childAssetModelId and a hierarchyId (named id). A hierarchy specifies allowed parent/child asset relationships for an asset model.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • assetModelCompositeModels

        DescribeAssetModelResponse.Builder assetModelCompositeModels​(Collection<AssetModelCompositeModel> assetModelCompositeModels)

        The list of composite asset models for the asset model.

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

        DescribeAssetModelResponse.Builder assetModelCompositeModels​(AssetModelCompositeModel... assetModelCompositeModels)

        The list of composite asset models for the asset model.

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

        DescribeAssetModelResponse.Builder assetModelCreationDate​(Instant assetModelCreationDate)

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

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

        DescribeAssetModelResponse.Builder assetModelLastUpdateDate​(Instant assetModelLastUpdateDate)

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

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

        DescribeAssetModelResponse.Builder assetModelStatus​(AssetModelStatus assetModelStatus)

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

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