Class Roles.Builder

  • Enclosing class:
    Roles

    public static class Roles.Builder
    extends java.lang.Object
    Builder.
    • Constructor Summary

      Constructors 
      Constructor Description
      Builder()
      Instantiates a new builder.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Roles build()
      Builds a Roles.
      Roles.Builder role​(java.lang.String role)
      Set the role.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Builder

        public Builder()
        Instantiates a new builder.
    • Method Detail

      • build

        public Roles build()
        Builds a Roles.
        Returns:
        the new Roles instance
      • role

        public Roles.Builder role​(java.lang.String role)
        Set the role.
        Parameters:
        role - the role
        Returns:
        the Roles builder