Class RawKeyMaterial.Builder<T>

  • Type Parameters:
    T - the type of key material
    Enclosing class:
    RawKeyMaterial<T>

    public static class RawKeyMaterial.Builder<T>
    extends Object
    Builder for RawKeyMaterial.
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • materialsDescription

        public RawKeyMaterial.Builder<T> materialsDescription​(MaterialsDescription materialsDescription)
        Sets the materials description for this raw key material.
        Parameters:
        materialsDescription - the materials description
        Returns:
        a reference to this object so that method calls can be chained together.
      • keyMaterial

        public RawKeyMaterial.Builder<T> keyMaterial​(T keyMaterial)
        Sets the key material.
        Parameters:
        keyMaterial - the key material
        Returns:
        a reference to this object so that method calls can be chained together.
      • build

        public RawKeyMaterial<T> build()
        Returns:
        the built RawKeyMaterial