Class 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
    • 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.
      • getAdditionalProperties

        public Map<String,​Object> getAdditionalProperties()
      • setAdditionalProperty

        public void setAdditionalProperty​(String name,
                                          Object value)
      • setAdditionalProperties

        public void setAdditionalProperties​(Map<String,​Object> additionalProperties)