Package com.vmware.nsx_policy.model
Class AddressBindingEntry.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.AddressBindingEntry.Builder
-
- Enclosing class:
- AddressBindingEntry
public static final class AddressBindingEntry.Builder extends java.lang.Object
Builder class forAddressBindingEntry
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofAddressBindingEntry
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AddressBindingEntry
build()
AddressBindingEntry.Builder
setBinding(PacketAddressClassifier binding)
AddressBindingEntry.Builder
setBindingTimestamp(java.lang.Long bindingTimestamp)
Timestamp at which the binding was discovered via snooping or manually specified by the user format: int64AddressBindingEntry.Builder
setSource(java.lang.String source)
Possible values are:AddressBindingEntry.SOURCE_INVALID
AddressBindingEntry.SOURCE_UNKNOWN
AddressBindingEntry.SOURCE_USER_DEFINED
AddressBindingEntry.SOURCE_ARP_SNOOPING
AddressBindingEntry.SOURCE_DHCP_SNOOPING
AddressBindingEntry.SOURCE_VM_TOOLS
AddressBindingEntry.SOURCE_ND_SNOOPING
AddressBindingEntry.SOURCE_DHCPV6_SNOOPING
AddressBindingEntry.SOURCE_VM_TOOLS_V6
Source from which the address binding entry was obtained
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofAddressBindingEntry
.
-
-
Method Detail
-
setBinding
public AddressBindingEntry.Builder setBinding(PacketAddressClassifier binding)
- Parameters:
binding
- New value for the property.
-
setBindingTimestamp
public AddressBindingEntry.Builder setBindingTimestamp(java.lang.Long bindingTimestamp)
Timestamp at which the binding was discovered via snooping or manually specified by the user format: int64- Parameters:
bindingTimestamp
- New value for the property.
-
setSource
public AddressBindingEntry.Builder setSource(java.lang.String source)
Possible values are:-
AddressBindingEntry.SOURCE_INVALID
-
AddressBindingEntry.SOURCE_UNKNOWN
-
AddressBindingEntry.SOURCE_USER_DEFINED
-
AddressBindingEntry.SOURCE_ARP_SNOOPING
-
AddressBindingEntry.SOURCE_DHCP_SNOOPING
-
AddressBindingEntry.SOURCE_VM_TOOLS
-
AddressBindingEntry.SOURCE_ND_SNOOPING
-
AddressBindingEntry.SOURCE_DHCPV6_SNOOPING
-
AddressBindingEntry.SOURCE_VM_TOOLS_V6
- Parameters:
source
- New value for the property.
-
-
build
public AddressBindingEntry build()
-
-