public static final class HostSwitchInfo.Builder
extends java.lang.Object
HostSwitchInfo
.Constructor and Description |
---|
Builder()
Constructor with parameters for the required properties of
HostSwitchInfo . |
Modifier and Type | Method and Description |
---|---|
HostSwitchInfo |
build() |
HostSwitchInfo.Builder |
setHostSwitchId(java.lang.String hostSwitchId)
Unique ID of a host 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.
|
HostSwitchInfo.Builder |
setHostSwitchMode(java.lang.String hostSwitchMode)
Possible values are:
HostSwitchInfo.HOST_SWITCH_MODE_STANDARD HostSwitchInfo.HOST_SWITCH_MODE_ENS HostSwitchInfo.HOST_SWITCH_MODE_ENS_INTERRUPT
HostSwitchInfo.HOST_SWITCH_MODE_LEGACY
Mode of host 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. |
HostSwitchInfo.Builder |
setHostSwitchName(java.lang.String hostSwitchName)
Name of a host 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.
|
HostSwitchInfo.Builder |
setHostSwitchType(java.lang.String hostSwitchType)
Possible values are:
HostSwitchInfo.HOST_SWITCH_TYPE_NVDS HostSwitchInfo.HOST_SWITCH_TYPE_VDS Type of a
host 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. |
public Builder()
HostSwitchInfo
.public HostSwitchInfo.Builder setHostSwitchId(java.lang.String hostSwitchId)
hostSwitchId
- New value for the property.public HostSwitchInfo.Builder setHostSwitchMode(java.lang.String hostSwitchMode)
hostSwitchMode
- New value for the property.public HostSwitchInfo.Builder setHostSwitchName(java.lang.String hostSwitchName)
hostSwitchName
- New value for the property.public HostSwitchInfo.Builder setHostSwitchType(java.lang.String hostSwitchType)
hostSwitchType
- New value for the property.public HostSwitchInfo build()