Interface GetKeyResponse.Builder

  • Method Details

    • key

      The key material, including the immutable and mutable data for the key.

      Parameters:
      key - The key material, including the immutable and mutable data for the key.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • key

      The key material, including the immutable and mutable data for the key.

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

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

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