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
-
Constructor Summary
-
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)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.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
setPorts
(List<@Valid V1PortStatus> ports) Set the ports property valuetoString()
-
Field Details
-
JSON_PROPERTY_HOSTNAME
- See Also:
-
JSON_PROPERTY_IP
- 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 -
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 -
ip
Set ip 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 -
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
-