Package com.vmware.nsx_policy.model
Class IpAddressInfo.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.IpAddressInfo.Builder
-
- Enclosing class:
- IpAddressInfo
public static final class IpAddressInfo.Builder extends java.lang.Object
Builder class forIpAddressInfo
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofIpAddressInfo
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IpAddressInfo
build()
IpAddressInfo.Builder
setIpAddresses(java.util.List<java.lang.String> ipAddresses)
IP Addresses of the the virtual network interface, as discovered in the source.IpAddressInfo.Builder
setSource(java.lang.String source)
Possible values are:IpAddressInfo.SOURCE_TOOLS
Source of the ipaddress information.
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofIpAddressInfo
.
-
-
Method Detail
-
setIpAddresses
public IpAddressInfo.Builder setIpAddresses(java.util.List<java.lang.String> ipAddresses)
IP Addresses of the the virtual network interface, as discovered in the source. format: ip 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:
ipAddresses
- New value for the property.
-
setSource
public IpAddressInfo.Builder setSource(java.lang.String source)
Possible values are: Source of the ipaddress information. 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:
source
- New value for the property.
-
build
public IpAddressInfo build()
-
-