public static final class PortConnectionHypervisor.Builder
extends java.lang.Object
PortConnectionHypervisor
.Constructor and Description |
---|
Builder()
Constructor with parameters for the required properties of
PortConnectionHypervisor . |
Modifier and Type | Method and Description |
---|---|
PortConnectionHypervisor |
build() |
PortConnectionHypervisor.Builder |
setId(java.lang.String id)
Resource ID is mapped to this.
|
PortConnectionHypervisor.Builder |
setNeighborsList(java.util.List<InterfaceNeighborProperties> neighborsList) |
PortConnectionHypervisor.Builder |
setPnics(java.util.List<Pnic> pnics) |
PortConnectionHypervisor.Builder |
setPnicsList(java.util.List<NodeInterfaceProperties> pnicsList) |
PortConnectionHypervisor.Builder |
setProfiles(java.util.List<com.vmware.vapi.bindings.Structure> profiles) |
PortConnectionHypervisor.Builder |
setResource(ManagedResource resource) |
public Builder()
PortConnectionHypervisor
.public PortConnectionHypervisor.Builder setId(java.lang.String id)
id
- New value for the property.public PortConnectionHypervisor.Builder setResource(ManagedResource resource)
resource
- New value for the property.public PortConnectionHypervisor.Builder setNeighborsList(java.util.List<InterfaceNeighborProperties> neighborsList)
neighborsList
- New value for the property.public PortConnectionHypervisor.Builder setPnics(java.util.List<Pnic> pnics)
pnics
- New value for the property.public PortConnectionHypervisor.Builder setPnicsList(java.util.List<NodeInterfaceProperties> pnicsList)
pnicsList
- New value for the property.public PortConnectionHypervisor.Builder setProfiles(java.util.List<com.vmware.vapi.bindings.Structure> profiles)
profiles
- New value for the property.
When clients pass a value of this class as a parameter, the property must
contain all the properties defined in BaseHostSwitchProfile
. When methods return a value of this
class as a return value, the property will contain all the properties defined in
BaseHostSwitchProfile
.public PortConnectionHypervisor build()