Interface DeleteAssetModelRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<DeleteAssetModelRequest.Builder,DeleteAssetModelRequest>,IoTSiteWiseRequest.Builder,SdkBuilder<DeleteAssetModelRequest.Builder,DeleteAssetModelRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- DeleteAssetModelRequest
public static interface DeleteAssetModelRequest.Builder extends IoTSiteWiseRequest.Builder, SdkPojo, CopyableBuilder<DeleteAssetModelRequest.Builder,DeleteAssetModelRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DeleteAssetModelRequest.BuilderassetModelId(String assetModelId)The ID of the asset model to delete.DeleteAssetModelRequest.BuilderclientToken(String clientToken)A unique case-sensitive identifier that you can provide to ensure the idempotency of the request.DeleteAssetModelRequest.BuilderifMatch(String ifMatch)The expected current entity tag (ETag) for the asset model’s latest or active version (specified usingmatchForVersionType).DeleteAssetModelRequest.BuilderifNoneMatch(String ifNoneMatch)Accepts * to reject the delete request if an active version (specified usingmatchForVersionTypeasACTIVE) already exists for the asset model.DeleteAssetModelRequest.BuildermatchForVersionType(String matchForVersionType)Specifies the asset model version type (LATESTorACTIVE) used in conjunction withIf-MatchorIf-None-Matchheaders to determine the target ETag for the delete operation.DeleteAssetModelRequest.BuildermatchForVersionType(AssetModelVersionType matchForVersionType)Specifies the asset model version type (LATESTorACTIVE) used in conjunction withIf-MatchorIf-None-Matchheaders to determine the target ETag for the delete operation.DeleteAssetModelRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)DeleteAssetModelRequest.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
-
assetModelId
DeleteAssetModelRequest.Builder assetModelId(String 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
DeleteAssetModelRequest.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.
-
ifMatch
DeleteAssetModelRequest.Builder ifMatch(String 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
DeleteAssetModelRequest.Builder ifNoneMatch(String ifNoneMatch)
Accepts * to reject the delete request if an active version (specified using
matchForVersionTypeasACTIVE) already exists for the asset model.- Parameters:
ifNoneMatch- Accepts * to reject the delete request if an active version (specified usingmatchForVersionTypeasACTIVE) already exists for the asset model.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
matchForVersionType
DeleteAssetModelRequest.Builder matchForVersionType(String matchForVersionType)
Specifies the asset model version type (
LATESTorACTIVE) used in conjunction withIf-MatchorIf-None-Matchheaders to determine the target ETag for the delete operation.- Parameters:
matchForVersionType- Specifies the asset model version type (LATESTorACTIVE) used in conjunction withIf-MatchorIf-None-Matchheaders 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:
AssetModelVersionType,AssetModelVersionType
-
matchForVersionType
DeleteAssetModelRequest.Builder matchForVersionType(AssetModelVersionType matchForVersionType)
Specifies the asset model version type (
LATESTorACTIVE) used in conjunction withIf-MatchorIf-None-Matchheaders to determine the target ETag for the delete operation.- Parameters:
matchForVersionType- Specifies the asset model version type (LATESTorACTIVE) used in conjunction withIf-MatchorIf-None-Matchheaders 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:
AssetModelVersionType,AssetModelVersionType
-
overrideConfiguration
DeleteAssetModelRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
DeleteAssetModelRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-