Package com.vmware.nsx_policy.model
Class IPv4DiscoveryOptions.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.IPv4DiscoveryOptions.Builder
-
- Enclosing class:
- IPv4DiscoveryOptions
public static final class IPv4DiscoveryOptions.Builder extends java.lang.Object
Builder class forIPv4DiscoveryOptions
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofIPv4DiscoveryOptions
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IPv4DiscoveryOptions
build()
IPv4DiscoveryOptions.Builder
setArpSnoopingConfig(ArpSnoopingConfig arpSnoopingConfig)
IPv4DiscoveryOptions.Builder
setDhcpSnoopingEnabled(java.lang.Boolean dhcpSnoopingEnabled)
Indicates whether DHCP snooping is enabledIPv4DiscoveryOptions.Builder
setVmtoolsEnabled(java.lang.Boolean vmtoolsEnabled)
Indicates whether fetching IP using vm-tools is enabled.
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofIPv4DiscoveryOptions
.
-
-
Method Detail
-
setArpSnoopingConfig
public IPv4DiscoveryOptions.Builder setArpSnoopingConfig(ArpSnoopingConfig arpSnoopingConfig)
- Parameters:
arpSnoopingConfig
- New value for the property.
-
setDhcpSnoopingEnabled
public IPv4DiscoveryOptions.Builder setDhcpSnoopingEnabled(java.lang.Boolean dhcpSnoopingEnabled)
Indicates whether DHCP snooping is enabled- Parameters:
dhcpSnoopingEnabled
- New value for the property.
-
setVmtoolsEnabled
public IPv4DiscoveryOptions.Builder setVmtoolsEnabled(java.lang.Boolean vmtoolsEnabled)
Indicates whether fetching IP using vm-tools is enabled. This option is only supported on ESX where vm-tools is installed.- Parameters:
vmtoolsEnabled
- New value for the property.
-
build
public IPv4DiscoveryOptions build()
-
-