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 Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddportsItem
(V1PortStatus portsItem) Add an item to the ports property in a chainable fashion.boolean
Hostname is set for load-balancer ingress points that are DNS based (typically AWS load-balancers)getIp()
IP is set for load-balancer ingress points that are IP based (typically GCE or OpenStack load-balancers)IPMode specifies how the load-balancer IP behaves, and may only be specified when the ip field is specified.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 itint
hashCode()
Set hostname in a chainable fashion.Set ip in a chainable fashion.Set ipMode in a chainable fashion.ports
(List<@Valid V1PortStatus> ports) Set ports in a chainable fashion.void
setHostname
(String hostname) Set the hostname property valuevoid
Set the ip property valuevoid
Set the ipMode property valuevoid
setPorts
(List<@Valid V1PortStatus> ports) Set the ports property valuetoString()
-
Field Details
-
JSON_PROPERTY_HOSTNAME
- See Also:
-
JSON_PROPERTY_IP
- See Also:
-
JSON_PROPERTY_IP_MODE
- See Also:
-
JSON_PROPERTY_PORTS
- See Also:
-
-
Constructor Details
-
V1LoadBalancerIngress
public V1LoadBalancerIngress()
-
-
Method Details
-
getHostname
Hostname is set for load-balancer ingress points that are DNS based (typically AWS load-balancers)- Returns:
- the hostname property value
-
setHostname
Set the hostname property value- Parameters:
hostname
- property value to set
-
hostname
Set hostname in a chainable fashion.- Returns:
- The same instance of V1LoadBalancerIngress for chaining.
-
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
Set the ip property value- Parameters:
ip
- property value to set
-
ip
Set ip in a chainable fashion.- Returns:
- The same instance of V1LoadBalancerIngress for chaining.
-
getIpMode
IPMode specifies how the load-balancer IP behaves, and may only be specified when the ip field is specified. Setting this to \"VIP\" indicates that traffic is delivered to the node with the destination set to the load-balancer's IP and port. Setting this to \"Proxy\" indicates that traffic is delivered to the node or pod with the destination set to the node's IP and node port or the pod's IP and port. Service implementations may use this information to adjust traffic routing.- Returns:
- the ipMode property value
-
setIpMode
Set the ipMode property value- Parameters:
ipMode
- property value to set
-
ipMode
Set ipMode in a chainable fashion.- Returns:
- The same instance of V1LoadBalancerIngress for chaining.
-
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
Set the ports property value- Parameters:
ports
- property value to set
-
ports
Set ports in a chainable fashion.- Returns:
- The same instance of V1LoadBalancerIngress for chaining.
-
addportsItem
Add an item to the ports property in a chainable fashion.- Returns:
- The same instance of V1LoadBalancerIngress for chaining.
-
equals
-
hashCode
public int hashCode() -
toString
-