Package com.vmware.nsx_policy.model
Class SegmentPortMacTableEntry.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.SegmentPortMacTableEntry.Builder
-
- Enclosing class:
- SegmentPortMacTableEntry
public static final class SegmentPortMacTableEntry.Builder extends java.lang.Object
Builder class forSegmentPortMacTableEntry
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofSegmentPortMacTableEntry
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SegmentPortMacTableEntry
build()
SegmentPortMacTableEntry.Builder
setMacAddress(java.lang.String macAddress)
The MAC addressSegmentPortMacTableEntry.Builder
setMacType(java.lang.String macType)
Possible values are:SegmentPortMacTableEntry.MAC_TYPE_STATIC
SegmentPortMacTableEntry.MAC_TYPE_LEARNED
The type of the MAC address
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofSegmentPortMacTableEntry
.
-
-
Method Detail
-
setMacAddress
public SegmentPortMacTableEntry.Builder setMacAddress(java.lang.String macAddress)
The MAC address- Parameters:
macAddress
- New value for the property.
-
setMacType
public SegmentPortMacTableEntry.Builder setMacType(java.lang.String macType)
Possible values are: The type of the MAC address- Parameters:
macType
- New value for the property.
-
build
public SegmentPortMacTableEntry build()
-
-