Interface CreateKeyResponse.Builder

All Superinterfaces:
AwsResponse.Builder, Buildable, CopyableBuilder<CreateKeyResponse.Builder,CreateKeyResponse>, PaymentCryptographyResponse.Builder, SdkBuilder<CreateKeyResponse.Builder,CreateKeyResponse>, SdkPojo, SdkResponse.Builder
Enclosing class:
CreateKeyResponse

  • Method Details

    • key

      The key material that contains all the key attributes.

      Parameters:
      key - The key material that contains all the key attributes.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • key

      The key material that contains all the key attributes.

      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: