Interface UpdateAssetRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateAssetRequest.Builder,UpdateAssetRequest>,IoTSiteWiseRequest.Builder,SdkBuilder<UpdateAssetRequest.Builder,UpdateAssetRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- UpdateAssetRequest
public static interface UpdateAssetRequest.Builder extends IoTSiteWiseRequest.Builder, SdkPojo, CopyableBuilder<UpdateAssetRequest.Builder,UpdateAssetRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description UpdateAssetRequest.BuilderassetDescription(String assetDescription)A description for the asset.UpdateAssetRequest.BuilderassetExternalId(String assetExternalId)An external ID to assign to the asset.UpdateAssetRequest.BuilderassetId(String assetId)The ID of the asset to update.UpdateAssetRequest.BuilderassetName(String assetName)A friendly name for the asset.UpdateAssetRequest.BuilderclientToken(String clientToken)A unique case-sensitive identifier that you can provide to ensure the idempotency of the request.UpdateAssetRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)UpdateAssetRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)-
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
UpdateAssetRequest.Builder assetId(String assetId)
The ID of the asset to update. 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 update. 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.
-
assetName
UpdateAssetRequest.Builder assetName(String assetName)
A friendly name for the asset.
- Parameters:
assetName- A friendly name for the asset.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clientToken
UpdateAssetRequest.Builder clientToken(String 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.
-
assetDescription
UpdateAssetRequest.Builder assetDescription(String assetDescription)
A description for the asset.
- Parameters:
assetDescription- A description for the asset.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
assetExternalId
UpdateAssetRequest.Builder assetExternalId(String assetExternalId)
An external ID to assign to the asset. The asset must not already have an external ID. The external ID must be unique within your Amazon Web Services account. For more information, see Using external IDs in the IoT SiteWise User Guide.
- Parameters:
assetExternalId- An external ID to assign to the asset. The asset must not already have an external ID. The external ID must be unique within your Amazon Web Services account. For more information, see Using external IDs in the IoT SiteWise User Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
UpdateAssetRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
UpdateAssetRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-