public static final class HostSwitchConfigOption.Builder
extends java.lang.Object
HostSwitchConfigOption
.Constructor and Description |
---|
Builder()
Constructor with parameters for the required properties of
HostSwitchConfigOption . |
Modifier and Type | Method and Description |
---|---|
HostSwitchConfigOption |
build() |
HostSwitchConfigOption.Builder |
setHostSwitchId(java.lang.String hostSwitchId)
This field is writable only in case of VDS type HostSwitch and system generated
for NVDS type.
|
HostSwitchConfigOption.Builder |
setHostSwitchProfileIds(java.util.List<HostSwitchProfileTypeIdEntry> hostSwitchProfileIds)
Host switch profiles bound to this host switch.
|
HostSwitchConfigOption.Builder |
setIpAssignmentSpec(com.vmware.vapi.bindings.Structure ipAssignmentSpec) |
HostSwitchConfigOption.Builder |
setIpv6AssignmentSpec(com.vmware.vapi.bindings.Structure ipv6AssignmentSpec) |
HostSwitchConfigOption.Builder |
setUplinks(java.util.List<VdsUplink> uplinks)
If VDS is used as a HostSwitch this attribute must be specified.
|
public Builder()
HostSwitchConfigOption
.public HostSwitchConfigOption.Builder setHostSwitchId(java.lang.String hostSwitchId)
hostSwitchId
- New value for the property.public HostSwitchConfigOption.Builder setHostSwitchProfileIds(java.util.List<HostSwitchProfileTypeIdEntry> hostSwitchProfileIds)
hostSwitchProfileIds
- New value for the property.public HostSwitchConfigOption.Builder setIpAssignmentSpec(com.vmware.vapi.bindings.Structure ipAssignmentSpec)
ipAssignmentSpec
- 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 IpAssignmentSpec
. When methods return a value of this
class as a return value, the property will contain all the properties defined in
IpAssignmentSpec
.public HostSwitchConfigOption.Builder setIpv6AssignmentSpec(com.vmware.vapi.bindings.Structure ipv6AssignmentSpec)
ipv6AssignmentSpec
- 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 Ipv6AssignmentSpec
. When methods return a value of this
class as a return value, the property will contain all the properties defined in
Ipv6AssignmentSpec
.public HostSwitchConfigOption.Builder setUplinks(java.util.List<VdsUplink> uplinks)
uplinks
- New value for the property.public HostSwitchConfigOption build()