Package com.vmware.nsx_policy.model
Class PortAddressBindingEntry.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.PortAddressBindingEntry.Builder
-
- Enclosing class:
- PortAddressBindingEntry
public static final class PortAddressBindingEntry.Builder extends java.lang.Object
Builder class forPortAddressBindingEntry
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofPortAddressBindingEntry
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PortAddressBindingEntry
build()
PortAddressBindingEntry.Builder
setIpAddress(java.lang.String ipAddress)
IP Address for port bindingPortAddressBindingEntry.Builder
setMacAddress(java.lang.String macAddress)
Mac address for port binding format: mac-addressPortAddressBindingEntry.Builder
setVlanId(java.lang.Long vlanId)
VLAN ID for port binding format: int64
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofPortAddressBindingEntry
.
-
-
Method Detail
-
setIpAddress
public PortAddressBindingEntry.Builder setIpAddress(java.lang.String ipAddress)
IP Address for port binding- Parameters:
ipAddress
- New value for the property.
-
setMacAddress
public PortAddressBindingEntry.Builder setMacAddress(java.lang.String macAddress)
Mac address for port binding format: mac-address- Parameters:
macAddress
- New value for the property.
-
setVlanId
public PortAddressBindingEntry.Builder setVlanId(java.lang.Long vlanId)
VLAN ID for port binding format: int64- Parameters:
vlanId
- New value for the property.
-
build
public PortAddressBindingEntry build()
-
-