Class V1IngressLoadBalancerIngress
java.lang.Object
io.kubernetes.client.openapi.models.V1IngressLoadBalancerIngress
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-04-23T13:45:09.091597Z[Etc/UTC]")
public class V1IngressLoadBalancerIngress
extends Object
IngressLoadBalancerIngress represents the status of a load-balancer ingress point.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddPortsItem(V1IngressPortStatus portsItem) booleanstatic V1IngressLoadBalancerIngressCreate an instance of V1IngressLoadBalancerIngress given an JSON stringhostname is set for load-balancer ingress points that are DNS based.getIp()ip is set for load-balancer ingress points that are IP based.getPorts()ports provides information about the ports exposed by this LoadBalancer.inthashCode()ports(List<V1IngressPortStatus> ports) voidsetHostname(String hostname) voidvoidsetPorts(List<V1IngressPortStatus> ports) toJson()Convert an instance of V1IngressLoadBalancerIngress to an JSON stringtoString()static voidvalidateJsonObject(com.google.gson.JsonObject jsonObj) Validates the JSON Object and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_HOSTNAME
- See Also:
-
SERIALIZED_NAME_IP
- See Also:
-
SERIALIZED_NAME_PORTS
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
V1IngressLoadBalancerIngress
public V1IngressLoadBalancerIngress()
-
-
Method Details
-
hostname
-
getHostname
hostname is set for load-balancer ingress points that are DNS based.- Returns:
- hostname
-
setHostname
-
ip
-
getIp
ip is set for load-balancer ingress points that are IP based.- Returns:
- ip
-
setIp
-
ports
-
addPortsItem
-
getPorts
ports provides information about the ports exposed by this LoadBalancer.- Returns:
- ports
-
setPorts
-
equals
-
hashCode
public int hashCode() -
toString
-
validateJsonObject
Validates the JSON Object and throws an exception if issues found- Parameters:
jsonObj- JSON Object- Throws:
IOException- if the JSON Object is invalid with respect to V1IngressLoadBalancerIngress
-
fromJson
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
Convert an instance of V1IngressLoadBalancerIngress to an JSON string- Returns:
- JSON string
-