All Implemented Interfaces:
ApiRequest<DeleteKey.Request>
Enclosing class:
DeleteKey

public static final class DeleteKey.Request extends VaultRequest<DeleteKey.Request>
Request object. Can be configured with additional headers, query parameters etc.
  • Method Details

    • builder

      public static DeleteKey.Request builder()
      Fluent API builder for configuring a request. The request builder is passed as is, without a build method. The equivalent of a build method is ApiJsonBuilder.toJson(jakarta.json.JsonBuilderFactory) used by the RestApi.
      Returns:
      new request builder
    • create

      public static DeleteKey.Request create(String keyName)
      Create a request from key name.
      Parameters:
      keyName - name of the key to delete
      Returns:
      a new request
    • name

      public DeleteKey.Request name(String name)
      Specifies the name of the encryption key to create.
      Parameters:
      name - key name
      Returns:
      updated request