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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DeleteKeyRequest.BuilderforceDelete(Boolean forceDelete)ForceDelete bypasses an API key's expiry conditions and deletes the key.DeleteKeyRequest.BuilderkeyName(String keyName)The name of the API key to delete.DeleteKeyRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)DeleteKeyRequest.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.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, sdkFields
-
-
-
-
Method Detail
-
forceDelete
DeleteKeyRequest.Builder forceDelete(Boolean 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.
-
keyName
DeleteKeyRequest.Builder keyName(String 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.
-
overrideConfiguration
DeleteKeyRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
DeleteKeyRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-