Class RawKeyring.Builder<KeyringT extends RawKeyring,​BuilderT extends RawKeyring.Builder<KeyringT,​BuilderT>>

  • Type Parameters:
    KeyringT - the type of keyring being built
    BuilderT - the type of builder
    Direct Known Subclasses:
    AesKeyring.Builder, RsaKeyring.Builder
    Enclosing class:
    RawKeyring

    public abstract static class RawKeyring.Builder<KeyringT extends RawKeyring,​BuilderT extends RawKeyring.Builder<KeyringT,​BuilderT>>
    extends S3Keyring.Builder<KeyringT,​BuilderT>
    Abstract builder for RawKeyring implementations. Provides common functionality for setting materials description on raw keyrings.
    • Constructor Detail

      • Builder

        protected Builder()
    • Method Detail

      • materialsDescription

        public BuilderT materialsDescription​(MaterialsDescription materialsDescription)
        Sets the materials description for this keyring. Materials description provides additional metadata for raw keyrings.
        Parameters:
        materialsDescription - the materials description to associate with this keyring.
        Returns:
        a reference to this object so that method calls can be chained together.