Interface ListAssociatedAssetsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<ListAssociatedAssetsRequest.Builder,
,ListAssociatedAssetsRequest> IoTSiteWiseRequest.Builder
,SdkBuilder<ListAssociatedAssetsRequest.Builder,
,ListAssociatedAssetsRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
ListAssociatedAssetsRequest
-
Method Summary
Modifier and TypeMethodDescriptionThe ID of the asset to query.hierarchyId
(String hierarchyId) The ID of the hierarchy by which child assets are associated to the asset.maxResults
(Integer maxResults) The maximum number of results to return for each paginated request.The token to be used for the next set of paginated results.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.traversalDirection
(String traversalDirection) The direction to list associated assets.traversalDirection
(TraversalDirection traversalDirection) The direction to list associated assets.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.iotsitewise.model.IoTSiteWiseRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
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 elseexternalId:
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
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 chooseCHILD
fortraversalDirection
.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 elseexternalId:
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 chooseCHILD
fortraversalDirection
.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
The direction to list associated assets. Choose one of the following options:
-
CHILD
– The list includes all child assets associated to the asset. ThehierarchyId
parameter is required if you chooseCHILD
. -
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. ThehierarchyId
parameter is required if you chooseCHILD
. -
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
The direction to list associated assets. Choose one of the following options:
-
CHILD
– The list includes all child assets associated to the asset. ThehierarchyId
parameter is required if you chooseCHILD
. -
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. ThehierarchyId
parameter is required if you chooseCHILD
. -
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 interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
ListAssociatedAssetsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-