Interface DeleteAssetModelRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<DeleteAssetModelRequest.Builder,
,DeleteAssetModelRequest> IoTSiteWiseRequest.Builder
,SdkBuilder<DeleteAssetModelRequest.Builder,
,DeleteAssetModelRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
DeleteAssetModelRequest
-
Method Summary
Modifier and TypeMethodDescriptionassetModelId
(String assetModelId) The ID of the asset model to delete.clientToken
(String clientToken) A unique case-sensitive identifier that you can provide to ensure the idempotency of the request.The expected current entity tag (ETag) for the asset model’s latest or active version (specified usingmatchForVersionType
).ifNoneMatch
(String ifNoneMatch) Accepts * to reject the delete request if an active version (specified usingmatchForVersionType
asACTIVE
) already exists for the asset model.matchForVersionType
(String matchForVersionType) Specifies the asset model version type (LATEST
orACTIVE
) used in conjunction withIf-Match
orIf-None-Match
headers to determine the target ETag for the delete operation.matchForVersionType
(AssetModelVersionType matchForVersionType) Specifies the asset model version type (LATEST
orACTIVE
) used in conjunction withIf-Match
orIf-None-Match
headers to determine the target ETag for the delete operation.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
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
-
assetModelId
The ID of the asset model to delete. 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:
assetModelId
- The ID of the asset model to delete. 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.
-
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.
-
ifMatch
The expected current entity tag (ETag) for the asset model’s latest or active version (specified using
matchForVersionType
). The delete request is rejected if the tag does not match the latest or active version's current entity tag. See Optimistic locking for asset model writes in the IoT SiteWise User Guide.- Parameters:
ifMatch
- The expected current entity tag (ETag) for the asset model’s latest or active version (specified usingmatchForVersionType
). The delete request is rejected if the tag does not match the latest or active version's current entity tag. See Optimistic locking for asset model writes in the IoT SiteWise User Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ifNoneMatch
Accepts * to reject the delete request if an active version (specified using
matchForVersionType
asACTIVE
) already exists for the asset model.- Parameters:
ifNoneMatch
- Accepts * to reject the delete request if an active version (specified usingmatchForVersionType
asACTIVE
) already exists for the asset model.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
matchForVersionType
Specifies the asset model version type (
LATEST
orACTIVE
) used in conjunction withIf-Match
orIf-None-Match
headers to determine the target ETag for the delete operation.- Parameters:
matchForVersionType
- Specifies the asset model version type (LATEST
orACTIVE
) used in conjunction withIf-Match
orIf-None-Match
headers to determine the target ETag for the delete operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
matchForVersionType
Specifies the asset model version type (
LATEST
orACTIVE
) used in conjunction withIf-Match
orIf-None-Match
headers to determine the target ETag for the delete operation.- Parameters:
matchForVersionType
- Specifies the asset model version type (LATEST
orACTIVE
) used in conjunction withIf-Match
orIf-None-Match
headers to determine the target ETag for the delete operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
DeleteAssetModelRequest.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
DeleteAssetModelRequest.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.
-