Class V1LoadBalancerIngress
java.lang.Object
io.kubernetes.client.openapi.models.V1LoadBalancerIngress
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-02-02T21:37:40.170033Z[Etc/UTC]")
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) 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)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()
ports
(List<V1PortStatus> ports) void
setHostname
(String hostname) void
void
setPorts
(List<V1PortStatus> ports) toString()
-
Field Details
-
SERIALIZED_NAME_HOSTNAME
- See Also:
-
SERIALIZED_NAME_IP
- See Also:
-
SERIALIZED_NAME_PORTS
- See Also:
-
-
Constructor Details
-
V1LoadBalancerIngress
public V1LoadBalancerIngress()
-
-
Method Details
-
hostname
-
getHostname
Hostname is set for load-balancer ingress points that are DNS based (typically AWS load-balancers)- Returns:
- hostname
-
setHostname
-
ip
-
getIp
IP is set for load-balancer ingress points that are IP based (typically GCE or OpenStack load-balancers)- Returns:
- ip
-
setIp
-
ports
-
addPortsItem
-
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:
- ports
-
setPorts
-
equals
-
hashCode
public int hashCode() -
toString
-