public static final class L2VpnAttachmentContext.Builder
extends java.lang.Object
L2VpnAttachmentContext.| Constructor and Description |
|---|
Builder()
Constructor with parameters for the required properties of
L2VpnAttachmentContext. |
| Modifier and Type | Method and Description |
|---|---|
L2VpnAttachmentContext |
build() |
L2VpnAttachmentContext.Builder |
setAllocateAddresses(java.lang.String allocateAddresses)
Possible values are:
AttachmentContext.ALLOCATE_ADDRESSES_IPPOOL
AttachmentContext.ALLOCATE_ADDRESSES_MACPOOL
AttachmentContext.ALLOCATE_ADDRESSES_BOTH
AttachmentContext.ALLOCATE_ADDRESSES_NONE
AttachmentContext.ALLOCATE_ADDRESSES_DHCP
AttachmentContext.ALLOCATE_ADDRESSES_DHCPV6
AttachmentContext.ALLOCATE_ADDRESSES_SLAAC
A flag to indicate whether to allocate addresses from allocation pools
bound to the parent logical switch. |
L2VpnAttachmentContext.Builder |
setLocalEgressIp(java.util.List<java.lang.String> localEgressIp)
List of local egress IP addresses, used for local egress optimization.
|
L2VpnAttachmentContext.Builder |
setTunnelId(java.lang.Long tunnelId)
Tunnel Id to uniquely identify the extension.
|
public Builder()
L2VpnAttachmentContext.public L2VpnAttachmentContext.Builder setLocalEgressIp(java.util.List<java.lang.String> localEgressIp)
localEgressIp - New value for the property.public L2VpnAttachmentContext.Builder setTunnelId(java.lang.Long tunnelId)
tunnelId - New value for the property.public L2VpnAttachmentContext.Builder setAllocateAddresses(java.lang.String allocateAddresses)
AttachmentContext.ALLOCATE_ADDRESSES_IPPOOLAttachmentContext.ALLOCATE_ADDRESSES_MACPOOLAttachmentContext.ALLOCATE_ADDRESSES_BOTHAttachmentContext.ALLOCATE_ADDRESSES_NONEAttachmentContext.ALLOCATE_ADDRESSES_DHCPAttachmentContext.ALLOCATE_ADDRESSES_DHCPV6AttachmentContext.ALLOCATE_ADDRESSES_SLAACallocateAddresses - New value for the property.public L2VpnAttachmentContext build()