Interface ListAssociatedAssetsRequest.Builder

All Superinterfaces:
AwsRequest.Builder, Buildable, CopyableBuilder<ListAssociatedAssetsRequest.Builder,ListAssociatedAssetsRequest>, IoTSiteWiseRequest.Builder, SdkBuilder<ListAssociatedAssetsRequest.Builder,ListAssociatedAssetsRequest>, SdkPojo, SdkRequest.Builder
Enclosing class:
ListAssociatedAssetsRequest

public static interface ListAssociatedAssetsRequest.Builder extends IoTSiteWiseRequest.Builder, SdkPojo, CopyableBuilder<ListAssociatedAssetsRequest.Builder,ListAssociatedAssetsRequest>
  • Method Details

    • assetId

      The ID of the asset to query. This can be either the actual ID in UUID format, or else externalId: followed by the external ID, if it has one. For more information, see Referencing objects with external IDs in the IoT SiteWise User Guide.

      Parameters:
      assetId - The ID of the asset to query. This can be either the actual ID in UUID format, or else externalId: followed by the external ID, if it has one. For more information, see Referencing objects with external IDs in the IoT SiteWise User Guide.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • hierarchyId

      ListAssociatedAssetsRequest.Builder hierarchyId(String hierarchyId)

      The ID of the hierarchy by which child assets are associated to the asset. (This can be either the actual ID in UUID format, or else externalId: followed by the external ID, if it has one. For more information, see Referencing objects with external IDs in the IoT SiteWise User Guide.) To find a hierarchy ID, use the DescribeAsset or DescribeAssetModel operations. This parameter is required if you choose CHILD for traversalDirection.

      For more information, see Asset hierarchies in the IoT SiteWise User Guide.

      Parameters:
      hierarchyId - The ID of the hierarchy by which child assets are associated to the asset. (This can be either the actual ID in UUID format, or else externalId: followed by the external ID, if it has one. For more information, see Referencing objects with external IDs in the IoT SiteWise User Guide.) To find a hierarchy ID, use the DescribeAsset or DescribeAssetModel operations. This parameter is required if you choose CHILD for traversalDirection.

      For more information, see Asset hierarchies in the IoT SiteWise User Guide.

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

      ListAssociatedAssetsRequest.Builder traversalDirection(String traversalDirection)

      The direction to list associated assets. Choose one of the following options:

      • CHILD – The list includes all child assets associated to the asset. The hierarchyId parameter is required if you choose CHILD.

      • PARENT – The list includes the asset's parent asset.

      Default: CHILD

      Parameters:
      traversalDirection - The direction to list associated assets. Choose one of the following options:

      • CHILD – The list includes all child assets associated to the asset. The hierarchyId parameter is required if you choose CHILD.

      • PARENT – The list includes the asset's parent asset.

      Default: CHILD

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

      ListAssociatedAssetsRequest.Builder traversalDirection(TraversalDirection traversalDirection)

      The direction to list associated assets. Choose one of the following options:

      • CHILD – The list includes all child assets associated to the asset. The hierarchyId parameter is required if you choose CHILD.

      • PARENT – The list includes the asset's parent asset.

      Default: CHILD

      Parameters:
      traversalDirection - The direction to list associated assets. Choose one of the following options:

      • CHILD – The list includes all child assets associated to the asset. The hierarchyId parameter is required if you choose CHILD.

      • PARENT – The list includes the asset's parent asset.

      Default: CHILD

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

      The token to be used for the next set of paginated results.

      Parameters:
      nextToken - The token to be used for the next set of paginated results.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • maxResults

      The maximum number of results to return for each paginated request.

      Default: 50

      Parameters:
      maxResults - The maximum number of results to return for each paginated request.

      Default: 50

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

      ListAssociatedAssetsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.