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.ObjectBuilder 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 PolicyKubernetesServiceLoadBalancerIngressPortStatusbuild()PolicyKubernetesServiceLoadBalancerIngressPortStatus.BuildersetPort(java.lang.Long port)Specifies port of service point.PolicyKubernetesServiceLoadBalancerIngressPortStatus.BuildersetProtocol(java.lang.String protocol)Possible values are:PolicyKubernetesServiceLoadBalancerIngressPortStatus.PROTOCOL_TCPPolicyKubernetesServiceLoadBalancerIngressPortStatus.PROTOCOL_UDPPolicyKubernetesServiceLoadBalancerIngressPortStatus.PROTOCOL_SCTPSpecifies 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()
-
-