Interface DescribeAssetPropertyResponse.Builder

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

public static interface DescribeAssetPropertyResponse.Builder extends IoTSiteWiseResponse.Builder, SdkPojo, CopyableBuilder<DescribeAssetPropertyResponse.Builder,DescribeAssetPropertyResponse>
  • 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.
    • 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

      DescribeAssetPropertyResponse.Builder assetModelId(String assetModelId)

      The ID of the asset model, in UUID format.

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

      DescribeAssetPropertyResponse.Builder assetProperty(Property assetProperty)

      The asset property's definition, alias, and notification state.

      This response includes this object for normal asset properties. If you describe an asset property in a composite model, this response includes the asset property information in compositeModel.

      Parameters:
      assetProperty - The asset property's definition, alias, and notification state.

      This response includes this object for normal asset properties. If you describe an asset property in a composite model, this response includes the asset property information in compositeModel.

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

      default DescribeAssetPropertyResponse.Builder assetProperty(Consumer<Property.Builder> assetProperty)

      The asset property's definition, alias, and notification state.

      This response includes this object for normal asset properties. If you describe an asset property in a composite model, this response includes the asset property information in compositeModel.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to assetProperty(Property).

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

      The composite model that declares this asset property, if this asset property exists in a composite model.

      Parameters:
      compositeModel - The composite model that declares this asset property, if this asset property exists in a composite model.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • compositeModel

      The composite model that declares this asset property, if this asset property exists in a composite model.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to compositeModel(CompositeModelProperty).

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

      DescribeAssetPropertyResponse.Builder assetExternalId(String assetExternalId)

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

      Parameters:
      assetExternalId - 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.