Package com.vmware.nsx_policy.model
Class MacTableCsvRecord.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.MacTableCsvRecord.Builder
-
- Enclosing class:
- MacTableCsvRecord
public static final class MacTableCsvRecord.Builder extends java.lang.ObjectBuilder class forMacTableCsvRecord.
-
-
Constructor Summary
Constructors Constructor Description Builder()Constructor with parameters for the required properties ofMacTableCsvRecord.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MacTableCsvRecordbuild()MacTableCsvRecord.BuildersetMacAddress(java.lang.String macAddress)The MAC addressMacTableCsvRecord.BuildersetRtepGroupId(java.lang.Long rtepGroupId)RTEP group id is applicable when the logical switch is stretched across multiple sites.MacTableCsvRecord.BuildersetVtepGroupId(java.lang.Long vtepGroupId)VTEP group id is applicable when the logical switch is stretched across multiple sites.MacTableCsvRecord.BuildersetVtepIp(java.lang.String vtepIp)The virtual tunnel endpoint IPv4 address format: ipMacTableCsvRecord.BuildersetVtepIpv6(java.lang.String vtepIpv6)The virtual tunnel endpoint IPv6 address format: ipv6MacTableCsvRecord.BuildersetVtepMacAddress(java.lang.String vtepMacAddress)The virtual tunnel endpoint MAC address
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofMacTableCsvRecord.
-
-
Method Detail
-
setMacAddress
public MacTableCsvRecord.Builder setMacAddress(java.lang.String macAddress)
The MAC address- Parameters:
macAddress- New value for the property.
-
setRtepGroupId
public MacTableCsvRecord.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 MacTableCsvRecord.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 MacTableCsvRecord.Builder setVtepIp(java.lang.String vtepIp)
The virtual tunnel endpoint IPv4 address format: ip- Parameters:
vtepIp- New value for the property.
-
setVtepIpv6
public MacTableCsvRecord.Builder setVtepIpv6(java.lang.String vtepIpv6)
The virtual tunnel endpoint IPv6 address format: ipv6- Parameters:
vtepIpv6- New value for the property.
-
setVtepMacAddress
public MacTableCsvRecord.Builder setVtepMacAddress(java.lang.String vtepMacAddress)
The virtual tunnel endpoint MAC address- Parameters:
vtepMacAddress- New value for the property.
-
build
public MacTableCsvRecord build()
-
-