Class ServiceAccountReference

  • All Implemented Interfaces:
    io.fabric8.kubernetes.api.builder.Editable<ServiceAccountReferenceBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource, Serializable

    @Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator")
    public class ServiceAccountReference
    extends Object
    implements io.fabric8.kubernetes.api.builder.Editable<ServiceAccountReferenceBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
    ServiceAccountReference specifies a service account and namespace by their names.
    See Also:
    Serialized Form
    • Constructor Detail

      • ServiceAccountReference

        public ServiceAccountReference()
        No args constructor for use in serialization
      • ServiceAccountReference

        public ServiceAccountReference​(String name,
                                       String namespace)
    • Method Detail

      • getName

        public String getName()
        name is the name of the service account.
      • setName

        public void setName​(String name)
        name is the name of the service account.
      • getNamespace

        public String getNamespace()
        namespace is the namespace of the service account. Service accounts from inside the whitelisted namespaces are allowed to be bound to roles. If Namespace is empty, then the namespace of the RoleBindingRestriction in which the ServiceAccountReference is embedded is used.
      • setNamespace

        public void setNamespace​(String namespace)
        namespace is the namespace of the service account. Service accounts from inside the whitelisted namespaces are allowed to be bound to roles. If Namespace is empty, then the namespace of the RoleBindingRestriction in which the ServiceAccountReference is embedded is used.
      • getAdditionalProperties

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

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

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