Class V1LoadBalancerIngress

java.lang.Object
io.micronaut.kubernetes.client.openapi.model.V1LoadBalancerIngress

@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen") public class V1LoadBalancerIngress extends Object
LoadBalancerIngress represents the status of a load-balancer ingress point: traffic intended for the service should be sent to an ingress point.
  • Field Details

  • Constructor Details

    • V1LoadBalancerIngress

      public V1LoadBalancerIngress()
  • Method Details

    • getHostname

      public String getHostname()
      Hostname is set for load-balancer ingress points that are DNS based (typically AWS load-balancers)
      Returns:
      the hostname property value
    • setHostname

      public void setHostname(String hostname)
      Set the hostname property value
      Parameters:
      hostname - property value to set
    • hostname

      public V1LoadBalancerIngress hostname(String hostname)
      Set hostname in a chainable fashion.
      Returns:
      The same instance of V1LoadBalancerIngress for chaining.
    • getIp

      public String getIp()
      IP is set for load-balancer ingress points that are IP based (typically GCE or OpenStack load-balancers)
      Returns:
      the ip property value
    • setIp

      public void setIp(String ip)
      Set the ip property value
      Parameters:
      ip - property value to set
    • ip

      public V1LoadBalancerIngress ip(String ip)
      Set ip in a chainable fashion.
      Returns:
      The same instance of V1LoadBalancerIngress for chaining.
    • getPorts

      public List<@Valid V1PortStatus> getPorts()
      Ports is a list of records of service ports If used, every port defined in the service should have an entry in it
      Returns:
      the ports property value
    • setPorts

      public void setPorts(List<@Valid V1PortStatus> ports)
      Set the ports property value
      Parameters:
      ports - property value to set
    • ports

      public V1LoadBalancerIngress ports(List<@Valid V1PortStatus> ports)
      Set ports in a chainable fashion.
      Returns:
      The same instance of V1LoadBalancerIngress for chaining.
    • addportsItem

      public V1LoadBalancerIngress addportsItem(V1PortStatus portsItem)
      Add an item to the ports property in a chainable fashion.
      Returns:
      The same instance of V1LoadBalancerIngress for chaining.
    • 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