Class MacTableEntry.Builder

  • Enclosing class:
    MacTableEntry

    public static final class MacTableEntry.Builder
    extends java.lang.Object
    Builder class for MacTableEntry.
    • Constructor Detail

      • Builder

        public Builder()
        Constructor with parameters for the required properties of MacTableEntry.
    • 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.