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