Package com.vmware.nsx_policy.model
Class DVSConfig.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.DVSConfig.Builder
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DVSConfig
build()
DVSConfig.Builder
setHostInfraTrafficRes(java.util.List<ResourceAllocation> hostInfraTrafficRes)
host_infra_traffic_res specifies bandwidth allocation for various traffic resources.DVSConfig.Builder
setLacpGroupConfigs(java.util.List<LacpGroupConfigInfo> lacpGroupConfigs)
It contains information about VMware specific multiple dynamic LACP groups.DVSConfig.Builder
setLldpSendEnabled(java.lang.Boolean lldpSendEnabled)
Enabled or disabled sending LLDP packetsDVSConfig.Builder
setMtu(java.lang.Long mtu)
Maximum Transmission Unit used for uplinks format: int32DVSConfig.Builder
setName(java.lang.String name)
The DVS nameDVSConfig.Builder
setUplinkPortNames(java.util.List<java.lang.String> uplinkPortNames)
Names of uplink ports for this DVS.DVSConfig.Builder
setUuid(java.lang.String uuid)
The DVS uuid
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofDVSConfig
.
-
-
Method Detail
-
setHostInfraTrafficRes
public DVSConfig.Builder setHostInfraTrafficRes(java.util.List<ResourceAllocation> hostInfraTrafficRes)
host_infra_traffic_res specifies bandwidth allocation for various traffic resources.- Parameters:
hostInfraTrafficRes
- New value for the property.
-
setLacpGroupConfigs
public DVSConfig.Builder setLacpGroupConfigs(java.util.List<LacpGroupConfigInfo> lacpGroupConfigs)
It contains information about VMware specific multiple dynamic LACP groups.- Parameters:
lacpGroupConfigs
- New value for the property.
-
setLldpSendEnabled
public DVSConfig.Builder setLldpSendEnabled(java.lang.Boolean lldpSendEnabled)
Enabled or disabled sending LLDP packets- Parameters:
lldpSendEnabled
- New value for the property.
-
setMtu
public DVSConfig.Builder setMtu(java.lang.Long mtu)
Maximum Transmission Unit used for uplinks format: int32- Parameters:
mtu
- New value for the property.
-
setName
public DVSConfig.Builder setName(java.lang.String name)
The DVS name- Parameters:
name
- New value for the property.
-
setUplinkPortNames
public DVSConfig.Builder setUplinkPortNames(java.util.List<java.lang.String> uplinkPortNames)
Names of uplink ports for this DVS.- Parameters:
uplinkPortNames
- New value for the property.
-
setUuid
public DVSConfig.Builder setUuid(java.lang.String uuid)
The DVS uuid- Parameters:
uuid
- New value for the property.
-
build
public DVSConfig build()
-
-