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 Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
getGroup()
getKind()
`kind` indicates which one of the other fields is non-empty.getUser()
group
(V1beta2GroupSubject group) Set group in a chainable fashion.int
hashCode()
Set kind in a chainable fashion.serviceAccount
(V1beta2ServiceAccountSubject serviceAccount) Set serviceAccount in a chainable fashion.void
setGroup
(V1beta2GroupSubject group) Set the group property valuevoid
Set the kind property valuevoid
setServiceAccount
(V1beta2ServiceAccountSubject serviceAccount) Set the serviceAccount property valuevoid
setUser
(V1beta2UserSubject user) Set the user property valuetoString()
user
(V1beta2UserSubject user) Set user in a chainable fashion.
-
Field Details
-
JSON_PROPERTY_GROUP
- See Also:
-
JSON_PROPERTY_KIND
- See Also:
-
JSON_PROPERTY_SERVICE_ACCOUNT
- See Also:
-
JSON_PROPERTY_USER
- See Also:
-
-
Constructor Details
-
V1beta2Subject
-
-
Method Details
-
getGroup
- Returns:
- the group property value
-
setGroup
Set the group property value -
group
Set group in a chainable fashion.- Returns:
- The same instance of V1beta2Subject for chaining.
-
getKind
`kind` indicates which one of the other fields is non-empty. Required- Returns:
- the kind property value
-
setKind
Set the kind property value -
kind
Set kind in a chainable fashion.- Returns:
- The same instance of V1beta2Subject for chaining.
-
getServiceAccount
- Returns:
- the serviceAccount property value
-
setServiceAccount
Set the serviceAccount property value -
serviceAccount
Set serviceAccount in a chainable fashion.- Returns:
- The same instance of V1beta2Subject for chaining.
-
getUser
- Returns:
- the user property value
-
setUser
Set the user property value -
user
Set user in a chainable fashion.- Returns:
- The same instance of V1beta2Subject for chaining.
-
equals
-
hashCode
public int hashCode() -
toString
-