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

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

    • builder

      public static GetKv1.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 GetKv1.Request create(String path)
      Get secret request for a secret path.
      Parameters:
      path - secret's path
      Returns:
      new request
    • path

      public GetKv1.Request path(String path)
      Path of the secret to get.
      Parameters:
      path - secret's path
      Returns:
      updated request