Class V1beta3Subject

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

@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen") public class V1beta3Subject 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

    • V1beta3Subject

      public V1beta3Subject(String kind)
  • Method Details

    • 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
      Parameters:
      kind - property value to set
    • kind

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

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

      public void setGroup(V1beta3GroupSubject group)
      Set the group property value
      Parameters:
      group - property value to set
    • group

      public V1beta3Subject group(V1beta3GroupSubject group)
      Set group in a chainable fashion.
      Returns:
      The same instance of V1beta3Subject for chaining.
    • getServiceAccount

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

      public void setServiceAccount(V1beta3ServiceAccountSubject serviceAccount)
      Set the serviceAccount property value
      Parameters:
      serviceAccount - property value to set
    • serviceAccount

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

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

      public void setUser(V1beta3UserSubject user)
      Set the user property value
      Parameters:
      user - property value to set
    • user

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