Class NamedTeamingPolicy.Builder

    • Constructor Detail

      • Builder

        public Builder()
        Constructor with parameters for the required properties of NamedTeamingPolicy.
    • Method Detail

      • setActiveList

        public NamedTeamingPolicy.Builder setActiveList​(java.util.List<Uplink> activeList)
        List of Uplinks used in active list
        Parameters:
        activeList - New value for the property.
      • setRollingOrder

        public NamedTeamingPolicy.Builder setRollingOrder​(java.lang.Boolean rollingOrder)
        Flag for preemptive mode
        Parameters:
        rollingOrder - New value for the property.
      • setStandbyList

        public NamedTeamingPolicy.Builder setStandbyList​(java.util.List<Uplink> standbyList)
        List of Uplinks used in standby list
        Parameters:
        standbyList - New value for the property.
      • setName

        public NamedTeamingPolicy.Builder setName​(java.lang.String name)
        An uplink teaming policy of a given name defined in UplinkHostSwitchProfile. The names of all NamedTeamingPolicies in an UplinkHostSwitchProfile must be different, but a name can be shared by different UplinkHostSwitchProfiles. Different TransportNodes can use different NamedTeamingPolicies having the same name in different UplinkHostSwitchProfiles to realize an uplink teaming policy on a logical switch. An uplink teaming policy on a logical switch can be any policy defined by a user; it does not have to be a single type of FAILOVER or LOADBALANCE. It can be a combination of types, for instance, a user can define a policy with name \"MyHybridTeamingPolicy\" as \"FAILOVER on all ESX TransportNodes and LOADBALANCE on all KVM TransportNodes\". The name is the key of the teaming policy and can not be changed once assigned.
        Parameters:
        name - New value for the property.