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 Summary
-
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 Detail
-
assetId
ListAssociatedAssetsRequest.Builder assetId(String assetId)
The ID of the asset to query.
- Parameters:
assetId- The ID of the asset to query.- 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. To find a hierarchy ID, use the DescribeAsset or DescribeAssetModel operations. This parameter is required if you choose
CHILDfortraversalDirection.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. To find a hierarchy ID, use the DescribeAsset or DescribeAssetModel operations. This parameter is required if you chooseCHILDfortraversalDirection.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. ThehierarchyIdparameter 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. ThehierarchyIdparameter 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,TraversalDirection
-
-
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. ThehierarchyIdparameter 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. ThehierarchyIdparameter 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,TraversalDirection
-
-
nextToken
ListAssociatedAssetsRequest.Builder nextToken(String 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
ListAssociatedAssetsRequest.Builder maxResults(Integer 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)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
ListAssociatedAssetsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-