Package com.vmware.nsx_policy.model
Class NetworkInfo.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.NetworkInfo.Builder
-
- Enclosing class:
- NetworkInfo
public static final class NetworkInfo.Builder extends java.lang.Object
Builder class forNetworkInfo
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofNetworkInfo
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NetworkInfo
build()
NetworkInfo.Builder
setDstIp(java.lang.String dstIp)
The destination IP can be an IP address or a subnet.NetworkInfo.Builder
setSrcIp(java.lang.String srcIp)
The source IP can be an IP address or a subnet.
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofNetworkInfo
.
-
-
Method Detail
-
setDstIp
public NetworkInfo.Builder setDstIp(java.lang.String dstIp)
The destination IP can be an IP address or a subnet. format: address-or-block-or-range- Parameters:
dstIp
- New value for the property.
-
setSrcIp
public NetworkInfo.Builder setSrcIp(java.lang.String srcIp)
The source IP can be an IP address or a subnet. format: address-or-block-or-range- Parameters:
srcIp
- New value for the property.
-
build
public NetworkInfo build()
-
-