Interface ExportTr31KeyBlock.Builder

All Superinterfaces:
Buildable, CopyableBuilder<ExportTr31KeyBlock.Builder,ExportTr31KeyBlock>, SdkBuilder<ExportTr31KeyBlock.Builder,ExportTr31KeyBlock>, SdkPojo
Enclosing class:
ExportTr31KeyBlock

public static interface ExportTr31KeyBlock.Builder extends SdkPojo, CopyableBuilder<ExportTr31KeyBlock.Builder,ExportTr31KeyBlock>
  • Method Details

    • wrappingKeyIdentifier

      ExportTr31KeyBlock.Builder wrappingKeyIdentifier(String wrappingKeyIdentifier)

      The KeyARN of the the wrapping key. This key encrypts or wraps the key under export for TR-31 key block generation.

      Parameters:
      wrappingKeyIdentifier - The KeyARN of the the wrapping key. This key encrypts or wraps the key under export for TR-31 key block generation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • keyBlockHeaders

      ExportTr31KeyBlock.Builder keyBlockHeaders(KeyBlockHeaders keyBlockHeaders)

      Optional metadata for export associated with the key material. This data is signed but transmitted in clear text.

      Parameters:
      keyBlockHeaders - Optional metadata for export associated with the key material. This data is signed but transmitted in clear text.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • keyBlockHeaders

      default ExportTr31KeyBlock.Builder keyBlockHeaders(Consumer<KeyBlockHeaders.Builder> keyBlockHeaders)

      Optional metadata for export associated with the key material. This data is signed but transmitted in clear text.

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

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

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