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

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

    • builder

      public static DecryptBatch.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
    • encryptionKeyName

      public DecryptBatch.Request encryptionKeyName(String encryptionKeyName)
      Specifies the name of the encryption key to encrypt against. Required.
      Parameters:
      encryptionKeyName - name of the key
      Returns:
      updated request
    • addEntry

      public DecryptBatch.Request addEntry(DecryptBatch.BatchEntry batchEntry)
      Specifies a list of items to be encrypted in a single batch. When this parameter is set, if the parameters 'plaintext', 'context' and 'nonce' are also set, they will be ignored.
      Parameters:
      batchEntry - batch entry to add to this batch request
      Returns:
      updated request