Package com.vmware.nsx_policy.model
Class PolicyKubernetesServiceLoadBalancerIngressPortStatus.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.PolicyKubernetesServiceLoadBalancerIngressPortStatus.Builder
-
- Enclosing class:
- PolicyKubernetesServiceLoadBalancerIngressPortStatus
public static final class PolicyKubernetesServiceLoadBalancerIngressPortStatus.Builder extends java.lang.Object
Builder class forPolicyKubernetesServiceLoadBalancerIngressPortStatus
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofPolicyKubernetesServiceLoadBalancerIngressPortStatus
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PolicyKubernetesServiceLoadBalancerIngressPortStatus
build()
PolicyKubernetesServiceLoadBalancerIngressPortStatus.Builder
setPort(java.lang.Long port)
Specifies port of service point.PolicyKubernetesServiceLoadBalancerIngressPortStatus.Builder
setProtocol(java.lang.String protocol)
Possible values are:PolicyKubernetesServiceLoadBalancerIngressPortStatus.PROTOCOL_TCP
PolicyKubernetesServiceLoadBalancerIngressPortStatus.PROTOCOL_UDP
PolicyKubernetesServiceLoadBalancerIngressPortStatus.PROTOCOL_SCTP
Specifies protocol of service point.
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofPolicyKubernetesServiceLoadBalancerIngressPortStatus
.
-
-
Method Detail
-
setPort
public PolicyKubernetesServiceLoadBalancerIngressPortStatus.Builder setPort(java.lang.Long port)
Specifies port of service point. format: int64- Parameters:
port
- New value for the property.
-
setProtocol
public PolicyKubernetesServiceLoadBalancerIngressPortStatus.Builder setProtocol(java.lang.String protocol)
Possible values are: Specifies protocol of service point. e.g. TCP, UDP, SCTP.- Parameters:
protocol
- New value for the property.
-
build
public PolicyKubernetesServiceLoadBalancerIngressPortStatus build()
-
-