All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.k8s.api.networking.v1.IngressServiceBackend Maven / Gradle / Ivy

The newest version!
package io.k8s.api.networking.v1;

import java.lang.String;

/**
 * IngressServiceBackend references a Kubernetes Service as a Backend.
 */
public class IngressServiceBackend {
  public String name;

  public ServiceBackendPort port;

  /**
   * name is the referenced service. The service must exist in the same namespace as the Ingress object.
   */
  public IngressServiceBackend name(String name) {
    this.name = name;
    return this;
  }

  public IngressServiceBackend port(ServiceBackendPort port) {
    this.port = port;
    return this;
  }

  public static IngressServiceBackend ingressServiceBackend() {
    return new IngressServiceBackend();
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy