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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListAssociatedAssetsRequest.BuilderassetId(String assetId)The ID of the asset to query.ListAssociatedAssetsRequest.BuilderhierarchyId(String hierarchyId)(Optional) If you don't provide ahierarchyId, all the immediate assets in thetraversalDirectionwill be returned.ListAssociatedAssetsRequest.BuildermaxResults(Integer maxResults)The maximum number of results to return for each paginated request.ListAssociatedAssetsRequest.BuildernextToken(String nextToken)The token to be used for the next set of paginated results.ListAssociatedAssetsRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)ListAssociatedAssetsRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)ListAssociatedAssetsRequest.BuildertraversalDirection(String traversalDirection)The direction to list associated assets.ListAssociatedAssetsRequest.BuildertraversalDirection(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 Detail
-
assetId
ListAssociatedAssetsRequest.Builder assetId(String 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
ListAssociatedAssetsRequest.Builder hierarchyId(String hierarchyId)
(Optional) If you don't provide a
hierarchyId, all the immediate assets in thetraversalDirectionwill be returned.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.)For more information, see Asset hierarchies in the IoT SiteWise User Guide.
- Parameters:
hierarchyId- (Optional) If you don't provide ahierarchyId, all the immediate assets in thetraversalDirectionwill be returned.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.)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. -
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. -
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. -
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. -
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
-
-