Interface DeleteKeyRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<DeleteKeyRequest.Builder,
,DeleteKeyRequest> LocationRequest.Builder
,SdkBuilder<DeleteKeyRequest.Builder,
,DeleteKeyRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
DeleteKeyRequest
@Mutable
@NotThreadSafe
public static interface DeleteKeyRequest.Builder
extends LocationRequest.Builder, SdkPojo, CopyableBuilder<DeleteKeyRequest.Builder,DeleteKeyRequest>
-
Method Summary
Modifier and TypeMethodDescriptionforceDelete
(Boolean forceDelete) ForceDelete bypasses an API key's expiry conditions and deletes the key.The name of the API key to delete.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.location.model.LocationRequest.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
-
keyName
The name of the API key to delete.
- Parameters:
keyName
- The name of the API key to delete.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
forceDelete
ForceDelete bypasses an API key's expiry conditions and deletes the key. Set the parameter
true
to delete the key or tofalse
to not preemptively delete the API key.Valid values:
true
, orfalse
.Required: No
This action is irreversible. Only use ForceDelete if you are certain the key is no longer in use.
- Parameters:
forceDelete
- ForceDelete bypasses an API key's expiry conditions and deletes the key. Set the parametertrue
to delete the key or tofalse
to not preemptively delete the API key.Valid values:
true
, orfalse
.Required: No
This action is irreversible. Only use ForceDelete if you are certain the key is no longer in use.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
DeleteKeyRequest.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
DeleteKeyRequest.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.
-