Interface ExtensionKey.Builder

  • Method Details

    • accessKeyId

      ExtensionKey.Builder accessKeyId(String accessKeyId)

      The service-generated SigV4 access key id. Set by the service; a value supplied in a request is ignored.

      Parameters:
      accessKeyId - The service-generated SigV4 access key id. Set by the service; a value supplied in a request is ignored.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • secretKey

      ExtensionKey.Builder secretKey(SecretKey secretKey)

      The SigV4 secret key, supplied inline or by reference to a Secrets Manager secret. If omitted, the service generates a literal; an update that supplies no secret key rotates it.

      Parameters:
      secretKey - The SigV4 secret key, supplied inline or by reference to a Secrets Manager secret. If omitted, the service generates a literal; an update that supplies no secret key rotates it.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • secretKey

      default ExtensionKey.Builder secretKey(Consumer<SecretKey.Builder> secretKey)

      The SigV4 secret key, supplied inline or by reference to a Secrets Manager secret. If omitted, the service generates a literal; an update that supplies no secret key rotates it.

      This is a convenience method that creates an instance of the SecretKey.Builder avoiding the need to create one manually via SecretKey.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to secretKey(SecretKey).

      Parameters:
      secretKey - a consumer that will call methods on SecretKey.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: