public static final class PortConnectionLogicalSwitch.Builder
extends java.lang.Object
PortConnectionLogicalSwitch
.Constructor and Description |
---|
Builder()
Constructor with parameters for the required properties of
PortConnectionLogicalSwitch . |
Modifier and Type | Method and Description |
---|---|
PortConnectionLogicalSwitch |
build() |
PortConnectionLogicalSwitch.Builder |
setId(java.lang.String id)
Resource ID is mapped to this.
|
PortConnectionLogicalSwitch.Builder |
setResource(ManagedResource resource) |
PortConnectionLogicalSwitch.Builder |
setRouterPorts(java.util.List<LogicalPort> routerPorts)
Logical Ports that are attached to a router
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
PortConnectionLogicalSwitch.Builder |
setVmPorts(java.util.List<LogicalPort> vmPorts)
Logical Ports that are attached to a VIF/VM
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
PortConnectionLogicalSwitch.Builder |
setVmPortsStates(java.util.List<LogicalPortState> vmPortsStates)
States of Logical Ports that are attached to a VIF/VM
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
PortConnectionLogicalSwitch.Builder |
setVmVnics(java.util.List<VirtualNetworkInterface> vmVnics)
Virutal Network Interfaces that are attached to the Logical Ports
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
public Builder()
PortConnectionLogicalSwitch
.public PortConnectionLogicalSwitch.Builder setId(java.lang.String id)
id
- New value for the property.public PortConnectionLogicalSwitch.Builder setResource(ManagedResource resource)
resource
- New value for the property.public PortConnectionLogicalSwitch.Builder setRouterPorts(java.util.List<LogicalPort> routerPorts)
routerPorts
- New value for the property.public PortConnectionLogicalSwitch.Builder setVmPorts(java.util.List<LogicalPort> vmPorts)
vmPorts
- New value for the property.public PortConnectionLogicalSwitch.Builder setVmPortsStates(java.util.List<LogicalPortState> vmPortsStates)
vmPortsStates
- New value for the property.public PortConnectionLogicalSwitch.Builder setVmVnics(java.util.List<VirtualNetworkInterface> vmVnics)
vmVnics
- New value for the property.public PortConnectionLogicalSwitch build()