Interface DeleteAssetModelCompositeModelRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<DeleteAssetModelCompositeModelRequest.Builder,
,DeleteAssetModelCompositeModelRequest> IoTSiteWiseRequest.Builder
,SdkBuilder<DeleteAssetModelCompositeModelRequest.Builder,
,DeleteAssetModelCompositeModelRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
DeleteAssetModelCompositeModelRequest
-
Method Summary
Modifier and TypeMethodDescriptionassetModelCompositeModelId
(String assetModelCompositeModelId) The ID of a composite model on this asset model.assetModelId
(String assetModelId) The ID of the asset model, in UUID format.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, sdkFieldNameToField, sdkFields
-
Method Details
-
assetModelId
The ID of the asset model, in UUID format.
- Parameters:
assetModelId
- The ID of the asset model, in UUID format.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
assetModelCompositeModelId
DeleteAssetModelCompositeModelRequest.Builder assetModelCompositeModelId(String assetModelCompositeModelId) The ID of a composite model on this asset model.
- Parameters:
assetModelCompositeModelId
- The ID of a composite model on this asset model.- 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
DeleteAssetModelCompositeModelRequest.Builder 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.- 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
DeleteAssetModelCompositeModelRequest.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
DeleteAssetModelCompositeModelRequest.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.
-