Class V1IngressLoadBalancerIngress

java.lang.Object
io.kubernetes.client.openapi.models.V1IngressLoadBalancerIngress

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2024-10-04T19:37:38.574271Z[Etc/UTC]", comments="Generator version: 7.6.0") public class V1IngressLoadBalancerIngress extends Object
IngressLoadBalancerIngress represents the status of a load-balancer ingress point.
  • Field Details

  • Constructor Details

    • V1IngressLoadBalancerIngress

      public V1IngressLoadBalancerIngress()
  • Method Details

    • hostname

      public V1IngressLoadBalancerIngress hostname(String hostname)
    • getHostname

      @Nullable public String getHostname()
      hostname is set for load-balancer ingress points that are DNS based.
      Returns:
      hostname
    • setHostname

      public void setHostname(String hostname)
    • ip

    • getIp

      @Nullable public String getIp()
      ip is set for load-balancer ingress points that are IP based.
      Returns:
      ip
    • setIp

      public void setIp(String ip)
    • ports

    • addPortsItem

      public V1IngressLoadBalancerIngress addPortsItem(V1IngressPortStatus portsItem)
    • getPorts

      @Nullable public List<V1IngressPortStatus> getPorts()
      ports provides information about the ports exposed by this LoadBalancer.
      Returns:
      ports
    • setPorts

      public void setPorts(List<V1IngressPortStatus> ports)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • validateJsonElement

      public static void validateJsonElement(com.google.gson.JsonElement jsonElement) throws IOException
      Validates the JSON Element and throws an exception if issues found
      Parameters:
      jsonElement - JSON Element
      Throws:
      IOException - if the JSON Element is invalid with respect to V1IngressLoadBalancerIngress
    • fromJson

      public static V1IngressLoadBalancerIngress fromJson(String jsonString) throws IOException
      Create an instance of V1IngressLoadBalancerIngress given an JSON string
      Parameters:
      jsonString - JSON string
      Returns:
      An instance of V1IngressLoadBalancerIngress
      Throws:
      IOException - if the JSON string is invalid with respect to V1IngressLoadBalancerIngress
    • toJson

      public String toJson()
      Convert an instance of V1IngressLoadBalancerIngress to an JSON string
      Returns:
      JSON string