Package com.vmware.nsx_policy.model
Class MacTableEntry.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.MacTableEntry.Builder
-
- Enclosing class:
- MacTableEntry
public static final class MacTableEntry.Builder extends java.lang.Object
Builder class forMacTableEntry
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofMacTableEntry
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MacTableEntry
build()
MacTableEntry.Builder
setMacAddress(java.lang.String macAddress)
The MAC addressMacTableEntry.Builder
setRtepGroupId(java.lang.Long rtepGroupId)
RTEP group id is applicable when the logical switch is stretched across multiple sites.MacTableEntry.Builder
setVtepGroupId(java.lang.Long vtepGroupId)
VTEP group id is applicable when the logical switch is stretched across multiple sites.MacTableEntry.Builder
setVtepIp(java.lang.String vtepIp)
The virtual tunnel endpoint IPv4 address format: ipMacTableEntry.Builder
setVtepIpv6(java.lang.String vtepIpv6)
The virtual tunnel endpoint IPv6 address format: ipv6MacTableEntry.Builder
setVtepMacAddress(java.lang.String vtepMacAddress)
The virtual tunnel endpoint MAC address
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofMacTableEntry
.
-
-
Method Detail
-
setMacAddress
public MacTableEntry.Builder setMacAddress(java.lang.String macAddress)
The MAC address- Parameters:
macAddress
- New value for the property.
-
setRtepGroupId
public MacTableEntry.Builder setRtepGroupId(java.lang.Long rtepGroupId)
RTEP group id is applicable when the logical switch is stretched across multiple sites. When rtep_group_id is set, mac_address represents remote mac_address. format: int64- Parameters:
rtepGroupId
- New value for the property.
-
setVtepGroupId
public MacTableEntry.Builder setVtepGroupId(java.lang.Long vtepGroupId)
VTEP group id is applicable when the logical switch is stretched across multiple sites. When vtep_group_id is set, mac_address represents remote mac_address. format: int64- Parameters:
vtepGroupId
- New value for the property.
-
setVtepIp
public MacTableEntry.Builder setVtepIp(java.lang.String vtepIp)
The virtual tunnel endpoint IPv4 address format: ip- Parameters:
vtepIp
- New value for the property.
-
setVtepIpv6
public MacTableEntry.Builder setVtepIpv6(java.lang.String vtepIpv6)
The virtual tunnel endpoint IPv6 address format: ipv6- Parameters:
vtepIpv6
- New value for the property.
-
setVtepMacAddress
public MacTableEntry.Builder setVtepMacAddress(java.lang.String vtepMacAddress)
The virtual tunnel endpoint MAC address- Parameters:
vtepMacAddress
- New value for the property.
-
build
public MacTableEntry build()
-
-