public static final class AttachmentContext.Builder
extends java.lang.Object
AttachmentContext
.Constructor and Description |
---|
Builder()
Constructor with parameters for the required properties of
AttachmentContext . |
Modifier and Type | Method and Description |
---|---|
AttachmentContext |
build() |
AttachmentContext.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. |
public Builder()
AttachmentContext
.public AttachmentContext.Builder setAllocateAddresses(java.lang.String allocateAddresses)
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
allocateAddresses
- New value for the property.public AttachmentContext build()