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