Package com.vmware.nsx.model
Class AttachmentContext.Builder
- java.lang.Object
-
- com.vmware.nsx.model.AttachmentContext.Builder
-
- Enclosing class:
- AttachmentContext
public static final class AttachmentContext.Builder extends java.lang.ObjectBuilder class forAttachmentContext.
-
-
Constructor Summary
Constructors Constructor Description Builder()Constructor with parameters for the required properties ofAttachmentContext.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AttachmentContextbuild()AttachmentContext.BuildersetAllocateAddresses(java.lang.String allocateAddresses)Possible values are:AttachmentContext.ALLOCATE_ADDRESSES_IPPOOLAttachmentContext.ALLOCATE_ADDRESSES_MACPOOLAttachmentContext.ALLOCATE_ADDRESSES_BOTHAttachmentContext.ALLOCATE_ADDRESSES_NONEAttachmentContext.ALLOCATE_ADDRESSES_DHCPAttachmentContext.ALLOCATE_ADDRESSES_DHCPV6AttachmentContext.ALLOCATE_ADDRESSES_SLAACA flag to indicate whether to allocate addresses from allocation pools bound to the parent logical switch.
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofAttachmentContext.
-
-
Method Detail
-
setAllocateAddresses
public 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
- Parameters:
allocateAddresses- New value for the property.
-
-
build
public AttachmentContext build()
-
-