Class RoleRef.Builder

  • Enclosing class:
    RoleRef

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

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      RoleRef.Builder apiGroup​(@NonNull java.lang.String apiGroup)
      APIGroup is the group for the resource being referenced
      RoleRef build()  
      RoleRef.Builder kind​(@NonNull java.lang.String kind)
      Kind is the type of resource being referenced
      RoleRef.Builder name​(@NonNull java.lang.String name)
      Name is the name of resource being referenced
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

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

      • apiGroup

        public RoleRef.Builder apiGroup​(@NonNull
                                        @NonNull java.lang.String apiGroup)
        APIGroup is the group for the resource being referenced
        Returns:
        this.
      • kind

        public RoleRef.Builder kind​(@NonNull
                                    @NonNull java.lang.String kind)
        Kind is the type of resource being referenced
        Returns:
        this.
      • name

        public RoleRef.Builder name​(@NonNull
                                    @NonNull java.lang.String name)
        Name is the name of resource being referenced
        Returns:
        this.
      • toString

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