public static final class HostSwitchState.Builder
extends java.lang.Object
HostSwitchState
.Constructor and Description |
---|
Builder()
Constructor with parameters for the required properties of
HostSwitchState . |
Modifier and Type | Method and Description |
---|---|
HostSwitchState |
build() |
HostSwitchState.Builder |
setEndpoints(java.util.List<Endpoint> endpoints)
List of virtual tunnel endpoints which are configured on this switch
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
HostSwitchState.Builder |
setHostSwitchId(java.lang.String hostSwitchId)
External ID of the HostSwitch
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
HostSwitchState.Builder |
setHostSwitchName(java.lang.String hostSwitchName)
The name must be unique among all host switches specified in a given Transport
Node.
|
HostSwitchState.Builder |
setHostSwitchType(java.lang.String hostSwitchType)
Possible values are:
HostSwitchState.HOST_SWITCH_TYPE_NVDS HostSwitchState.HOST_SWITCH_TYPE_VDS VDS
represents VMware vSphere Distributed Switch from vSphere that is used as
HostSwitch through TransportNode or TransportNodeProfile configuration. |
HostSwitchState.Builder |
setTransportZoneIds(java.util.List<java.lang.String> transportZoneIds)
List of Ids of TransportZones this HostSwitch belongs to
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()
HostSwitchState
.public HostSwitchState.Builder setEndpoints(java.util.List<Endpoint> endpoints)
endpoints
- New value for the property.public HostSwitchState.Builder setHostSwitchId(java.lang.String hostSwitchId)
hostSwitchId
- New value for the property.public HostSwitchState.Builder setHostSwitchName(java.lang.String hostSwitchName)
hostSwitchName
- New value for the property.public HostSwitchState.Builder setHostSwitchType(java.lang.String hostSwitchType)
hostSwitchType
- New value for the property.public HostSwitchState.Builder setTransportZoneIds(java.util.List<java.lang.String> transportZoneIds)
transportZoneIds
- New value for the property.public HostSwitchState build()