Class ServiceReference

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

    @Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator")
    public class ServiceReference
    extends Object
    implements io.fabric8.kubernetes.api.builder.Editable<ServiceReferenceBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
    ServiceReference holds a reference to Service.legacy.k8s.io
    See Also:
    Serialized Form
    • Constructor Detail

      • ServiceReference

        public ServiceReference()
        No args constructor for use in serialization
    • Method Detail

      • getName

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

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

        public String getNamespace()
        `namespace` is the namespace of the service. Required
      • setNamespace

        public void setNamespace​(String namespace)
        `namespace` is the namespace of the service. Required
      • getPath

        public String getPath()
        `path` is an optional URL path which will be sent in any request to this service.
      • setPath

        public void setPath​(String path)
        `path` is an optional URL path which will be sent in any request to this service.
      • getPort

        public Integer getPort()
        If specified, the port on the service that hosting webhook. Default to 443 for backward compatibility. `port` should be a valid port number (1-65535, inclusive).
      • setPort

        public void setPort​(Integer port)
        If specified, the port on the service that hosting webhook. Default to 443 for backward compatibility. `port` should be a valid port number (1-65535, inclusive).
      • getAdditionalProperties

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

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

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