Package com.vmware.nsx_policy.model
Class PolicyKubernetesServiceLoadBalancerIngress.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.PolicyKubernetesServiceLoadBalancerIngress.Builder
-
- Enclosing class:
- PolicyKubernetesServiceLoadBalancerIngress
public static final class PolicyKubernetesServiceLoadBalancerIngress.Builder extends java.lang.Object
Builder class forPolicyKubernetesServiceLoadBalancerIngress
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofPolicyKubernetesServiceLoadBalancerIngress
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PolicyKubernetesServiceLoadBalancerIngress
build()
PolicyKubernetesServiceLoadBalancerIngress.Builder
setHostname(java.lang.String hostname)
Hostname is set for load-balancer ingress points that are DNS based.PolicyKubernetesServiceLoadBalancerIngress.Builder
setLoadBalancerIngressIp(java.lang.String loadBalancerIngressIp)
The load balancer ingress ip of kubernetes service resource This property may be present in responses from the server, but if it is present in a request to server it will be ignored.PolicyKubernetesServiceLoadBalancerIngress.Builder
setPorts(java.util.List<PolicyKubernetesServiceLoadBalancerIngressPortStatus> ports)
Ports is a list of records of service points.
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofPolicyKubernetesServiceLoadBalancerIngress
.
-
-
Method Detail
-
setHostname
public PolicyKubernetesServiceLoadBalancerIngress.Builder setHostname(java.lang.String hostname)
Hostname is set for load-balancer ingress points that are DNS based.- Parameters:
hostname
- New value for the property.
-
setLoadBalancerIngressIp
public PolicyKubernetesServiceLoadBalancerIngress.Builder setLoadBalancerIngressIp(java.lang.String loadBalancerIngressIp)
The load balancer ingress ip of kubernetes service resource This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Parameters:
loadBalancerIngressIp
- New value for the property.
-
setPorts
public PolicyKubernetesServiceLoadBalancerIngress.Builder setPorts(java.util.List<PolicyKubernetesServiceLoadBalancerIngressPortStatus> ports)
Ports is a list of records of service points.- Parameters:
ports
- New value for the property.
-
build
public PolicyKubernetesServiceLoadBalancerIngress build()
-
-