Interface DeleteKeyRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<DeleteKeyRequest.Builder,,DeleteKeyRequest> LocationRequest.Builder,SdkBuilder<DeleteKeyRequest.Builder,,DeleteKeyRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
DeleteKeyRequest
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
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.location.model.LocationRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, 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
trueto delete the key or tofalseto 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 parametertrueto delete the key or tofalseto 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-