Class GroupSubject.Builder

  • Enclosing class:
    GroupSubject

    public static class GroupSubject.Builder
    extends java.lang.Object
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      GroupSubject build()  
      GroupSubject.Builder name​(@NonNull java.lang.String name)
      name is the user group that matches, or "*" to match all user groups.
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Method Detail

      • name

        public GroupSubject.Builder name​(@NonNull
                                         @NonNull java.lang.String name)
        name is the user group that matches, or "*" to match all user groups. See https://github.com/kubernetes/apiserver/blob/master/pkg/authentication/user/user.go for some well-known group names. Required.
        Returns:
        this.
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object