public static final class DiscoveredNodeInterfaceProperties.Builder
extends java.lang.Object
DiscoveredNodeInterfaceProperties.| Constructor and Description |
|---|
Builder()
Constructor with parameters for the required properties of
DiscoveredNodeInterfaceProperties. |
| Modifier and Type | Method and Description |
|---|---|
DiscoveredNodeInterfaceProperties |
build() |
DiscoveredNodeInterfaceProperties.Builder |
setConnectedSwitch(java.lang.String connectedSwitch)
Switch name which is connected to nic, switch can be opaque, proxyHostSwitch or
virtual
|
DiscoveredNodeInterfaceProperties.Builder |
setConnectedSwitchType(java.lang.String connectedSwitchType)
Possible values are:
DiscoveredNodeInterfaceProperties.CONNECTED_SWITCH_TYPE_VSS
DiscoveredNodeInterfaceProperties.CONNECTED_SWITCH_TYPE_DVS
DiscoveredNodeInterfaceProperties.CONNECTED_SWITCH_TYPE_N_VDS
Type of virtual switch can be VSS, DVS or N-VDS. |
DiscoveredNodeInterfaceProperties.Builder |
setInterfaceId(java.lang.String interfaceId)
Id of the network interface
|
DiscoveredNodeInterfaceProperties.Builder |
setPhysicalAddress(java.lang.String physicalAddress)
Mac address of the interface format: mac-address
|
public Builder()
DiscoveredNodeInterfaceProperties.public DiscoveredNodeInterfaceProperties.Builder setConnectedSwitch(java.lang.String connectedSwitch)
connectedSwitch - New value for the property.public DiscoveredNodeInterfaceProperties.Builder setConnectedSwitchType(java.lang.String connectedSwitchType)
connectedSwitchType - New value for the property.public DiscoveredNodeInterfaceProperties.Builder setInterfaceId(java.lang.String interfaceId)
interfaceId - New value for the property.public DiscoveredNodeInterfaceProperties.Builder setPhysicalAddress(java.lang.String physicalAddress)
physicalAddress - New value for the property.public DiscoveredNodeInterfaceProperties build()