Package com.vmware.nsx_policy.model
Class IpInfo.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.IpInfo.Builder
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IpInfo
build()
IpInfo.Builder
setDstIp(java.lang.String dstIp)
The destination IP can be an IP address or a subnet.IpInfo.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 ofIpInfo
.
-
-
Method Detail
-
setDstIp
public IpInfo.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 IpInfo.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 IpInfo build()
-
-