Class V1IngressLoadBalancerIngress
java.lang.Object
io.kubernetes.client.openapi.models.V1IngressLoadBalancerIngress
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-10-04T19:37:38.574271Z[Etc/UTC]",
comments="Generator version: 7.6.0")
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) boolean
static V1IngressLoadBalancerIngress
Create 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.int
hashCode()
ports
(List<V1IngressPortStatus> ports) void
setHostname
(String hostname) void
void
setPorts
(List<V1IngressPortStatus> ports) toJson()
Convert an instance of V1IngressLoadBalancerIngress to an JSON stringtoString()
static void
validateJsonElement
(com.google.gson.JsonElement jsonElement) Validates the JSON Element 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
-
validateJsonElement
Validates the JSON Element and throws an exception if issues found- Parameters:
jsonElement
- JSON Element- Throws:
IOException
- if the JSON Element 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
-