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

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

package io.k8s.api.networking.v1;

import java.lang.Long;
import java.lang.String;

/**
 * ServiceBackendPort is the service port being referenced.
 */
public class ServiceBackendPort {
  public String name;

  public Long number;

  /**
   * name is the name of the port on the Service. This is a mutually exclusive setting with "Number".
   */
  public ServiceBackendPort name(String name) {
    this.name = name;
    return this;
  }

  /**
   * number is the numerical port number (e.g. 80) on the Service. This is a mutually exclusive setting with "Name".
   */
  public ServiceBackendPort number(Long number) {
    this.number = number;
    return this;
  }

  public static ServiceBackendPort serviceBackendPort() {
    return new ServiceBackendPort();
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy