Class DVSConfig.Builder

  • Enclosing class:
    DVSConfig

    public static final class DVSConfig.Builder
    extends java.lang.Object
    Builder class for DVSConfig.
    • Constructor Detail

      • Builder

        public Builder()
        Constructor with parameters for the required properties of DVSConfig.
    • 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.