public static final class LogicalPortState.Builder
extends java.lang.Object
LogicalPortState
.Constructor and Description |
---|
Builder()
Constructor with parameters for the required properties of
LogicalPortState . |
Modifier and Type | Method and Description |
---|---|
LogicalPortState |
build() |
LogicalPortState.Builder |
setAttachment(LogicalPortAttachmentState attachment) |
LogicalPortState.Builder |
setDiscoveredBindings(java.util.List<AddressBindingEntry> discoveredBindings)
Contains the list of address bindings for a logical port that were automatically
dicovered using various snooping methods like ARP, DHCP etc.
|
LogicalPortState.Builder |
setDuplicateBindings(java.util.List<DuplicateAddressBindingEntry> duplicateBindings)
If any address binding discovered on the port is also found on other port on the
same logical switch, then it is included in the duplicate bindings list along
with the ID of the port with which it conflicts.
|
LogicalPortState.Builder |
setId(java.lang.String id)
Id of the logical port
|
LogicalPortState.Builder |
setRealizedBindings(java.util.List<AddressBindingEntry> realizedBindings)
List of logical port bindings that are realized.
|
LogicalPortState.Builder |
setTransportNodeIds(java.util.List<java.lang.String> transportNodeIds)
Identifiers of the transport node where the port is located
|
public Builder()
LogicalPortState
.public LogicalPortState.Builder setAttachment(LogicalPortAttachmentState attachment)
attachment
- New value for the property.public LogicalPortState.Builder setDiscoveredBindings(java.util.List<AddressBindingEntry> discoveredBindings)
discoveredBindings
- New value for the property.public LogicalPortState.Builder setDuplicateBindings(java.util.List<DuplicateAddressBindingEntry> duplicateBindings)
duplicateBindings
- New value for the property.public LogicalPortState.Builder setId(java.lang.String id)
id
- New value for the property.public LogicalPortState.Builder setRealizedBindings(java.util.List<AddressBindingEntry> realizedBindings)
realizedBindings
- New value for the property.public LogicalPortState.Builder setTransportNodeIds(java.util.List<java.lang.String> transportNodeIds)
transportNodeIds
- New value for the property.public LogicalPortState build()