Class Subject
- java.lang.Object
-
- io.fabric8.kubernetes.api.model.flowcontrol.v1beta1.Subject
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<SubjectBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class Subject extends Object implements io.fabric8.kubernetes.api.builder.Editable<SubjectBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
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.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Subject()No args constructor for use in serializationSubject(GroupSubject group, String kind, ServiceAccountSubject serviceAccount, UserSubject user)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SubjectBuilderedit()Map<String,Object>getAdditionalProperties()GroupSubjectgetGroup()Subject matches the originator of a request, as identified by the request authentication system.StringgetKind()RequiredServiceAccountSubjectgetServiceAccount()Subject matches the originator of a request, as identified by the request authentication system.UserSubjectgetUser()Subject matches the originator of a request, as identified by the request authentication system.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetGroup(GroupSubject group)Subject matches the originator of a request, as identified by the request authentication system.voidsetKind(String kind)RequiredvoidsetServiceAccount(ServiceAccountSubject serviceAccount)Subject matches the originator of a request, as identified by the request authentication system.voidsetUser(UserSubject user)Subject matches the originator of a request, as identified by the request authentication system.SubjectBuildertoBuilder()
-
-
-
Constructor Detail
-
Subject
public Subject()
No args constructor for use in serialization
-
Subject
public Subject(GroupSubject group, String kind, ServiceAccountSubject serviceAccount, UserSubject user)
-
-
Method Detail
-
getGroup
public GroupSubject getGroup()
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.
-
setGroup
public void setGroup(GroupSubject group)
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.
-
getKind
public String getKind()
Required
-
setKind
public void setKind(String kind)
Required
-
getServiceAccount
public ServiceAccountSubject getServiceAccount()
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.
-
setServiceAccount
public void setServiceAccount(ServiceAccountSubject serviceAccount)
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.
-
getUser
public UserSubject getUser()
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.
-
setUser
public void setUser(UserSubject user)
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.
-
edit
public SubjectBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<SubjectBuilder>
-
toBuilder
public SubjectBuilder toBuilder()
-
-