Class V1beta2Subject

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

@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen") public class V1beta2Subject extends Object
Subject matches the originator of a request, as identified by the request authentication system. There are three ways of matching an originator; by user, group, or service account.
  • Field Details

  • Constructor Details

    • V1beta2Subject

      public V1beta2Subject(String kind)
  • Method Details

    • getGroup

      public V1beta2GroupSubject getGroup()
      Returns:
      the group property value
    • setGroup

      public void setGroup(V1beta2GroupSubject group)
      Set the group property value
    • group

      public V1beta2Subject group(V1beta2GroupSubject group)
      Set group in a chainable fashion.
      Returns:
      The same instance of V1beta2Subject for chaining.
    • getKind

      public String getKind()
      `kind` indicates which one of the other fields is non-empty. Required
      Returns:
      the kind property value
    • setKind

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

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

      public V1beta2ServiceAccountSubject getServiceAccount()
      Returns:
      the serviceAccount property value
    • setServiceAccount

      public void setServiceAccount(V1beta2ServiceAccountSubject serviceAccount)
      Set the serviceAccount property value
    • serviceAccount

      public V1beta2Subject serviceAccount(V1beta2ServiceAccountSubject serviceAccount)
      Set serviceAccount in a chainable fashion.
      Returns:
      The same instance of V1beta2Subject for chaining.
    • getUser

      public V1beta2UserSubject getUser()
      Returns:
      the user property value
    • setUser

      public void setUser(V1beta2UserSubject user)
      Set the user property value
    • user

      public V1beta2Subject user(V1beta2UserSubject user)
      Set user in a chainable fashion.
      Returns:
      The same instance of V1beta2Subject 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