java.lang.Object
io.micronaut.kubernetes.client.openapi.model.V1RoleRef

@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen") public class V1RoleRef extends Object
RoleRef contains information that points to the role being used
  • Field Details

  • Constructor Details

  • Method Details

    • getApiGroup

      public String getApiGroup()
      APIGroup is the group for the resource being referenced
      Returns:
      the apiGroup property value
    • setApiGroup

      public void setApiGroup(String apiGroup)
      Set the apiGroup property value
    • apiGroup

      public V1RoleRef apiGroup(String apiGroup)
      Set apiGroup in a chainable fashion.
      Returns:
      The same instance of V1RoleRef for chaining.
    • getKind

      public String getKind()
      Kind is the type of resource being referenced
      Returns:
      the kind property value
    • setKind

      public void setKind(String kind)
      Set the kind property value
    • kind

      public V1RoleRef kind(String kind)
      Set kind in a chainable fashion.
      Returns:
      The same instance of V1RoleRef for chaining.
    • getName

      public String getName()
      Name is the name of resource being referenced
      Returns:
      the name property value
    • setName

      public void setName(String name)
      Set the name property value
    • name

      public V1RoleRef name(String name)
      Set name in a chainable fashion.
      Returns:
      The same instance of V1RoleRef for chaining.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object