Interface AssociateAssetsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<AssociateAssetsRequest.Builder,,AssociateAssetsRequest> IoTSiteWiseRequest.Builder,SdkBuilder<AssociateAssetsRequest.Builder,,AssociateAssetsRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
AssociateAssetsRequest
public static interface AssociateAssetsRequest.Builder
extends IoTSiteWiseRequest.Builder, SdkPojo, CopyableBuilder<AssociateAssetsRequest.Builder,AssociateAssetsRequest>
-
Method Summary
Modifier and TypeMethodDescriptionThe ID of the parent asset.childAssetId(String childAssetId) The ID of the child asset to be associated.clientToken(String clientToken) A unique case-sensitive identifier that you can provide to ensure the idempotency of the request.hierarchyId(String hierarchyId) The ID of a hierarchy in the parent asset's model.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.iotsitewise.model.IoTSiteWiseRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
assetId
The ID of the parent asset.
- Parameters:
assetId- The ID of the parent asset.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
hierarchyId
The ID of a hierarchy in the parent asset's model. Hierarchies allow different groupings of assets to be formed that all come from the same asset model. For more information, see Asset hierarchies in the IoT SiteWise User Guide.
- Parameters:
hierarchyId- The ID of a hierarchy in the parent asset's model. Hierarchies allow different groupings of assets to be formed that all come from the same asset model. 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.
-
childAssetId
The ID of the child asset to be associated.
- Parameters:
childAssetId- The ID of the child asset to be associated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clientToken
A unique case-sensitive identifier that you can provide to ensure the idempotency of the request. Don't reuse this client token if a new idempotent request is required.
- Parameters:
clientToken- A unique case-sensitive identifier that you can provide to ensure the idempotency of the request. Don't reuse this client token if a new idempotent request is required.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
AssociateAssetsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
AssociateAssetsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-