Package com.vmware.nsx_policy.model
Class TeamingPolicy.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.TeamingPolicy.Builder
-
- Enclosing class:
- TeamingPolicy
public static final class TeamingPolicy.Builder extends java.lang.Object
Builder class forTeamingPolicy
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofTeamingPolicy
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TeamingPolicy
build()
TeamingPolicy.Builder
setActiveList(java.util.List<Uplink> activeList)
List of Uplinks used in active listTeamingPolicy.Builder
setPolicy(java.lang.String policy)
Possible values are:TeamingPolicy.POLICY_FAILOVER_ORDER
TeamingPolicy.POLICY_LOADBALANCE_SRCID
TeamingPolicy.POLICY_LOADBALANCE_SRC_MAC
Teaming policyTeamingPolicy.Builder
setRollingOrder(java.lang.Boolean rollingOrder)
Flag for preemptive modeTeamingPolicy.Builder
setStandbyList(java.util.List<Uplink> standbyList)
List of Uplinks used in standby list
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofTeamingPolicy
.
-
-
Method Detail
-
setActiveList
public TeamingPolicy.Builder setActiveList(java.util.List<Uplink> activeList)
List of Uplinks used in active list- Parameters:
activeList
- New value for the property.
-
setPolicy
public TeamingPolicy.Builder setPolicy(java.lang.String policy)
Possible values are: Teaming policy- Parameters:
policy
- New value for the property.
-
setRollingOrder
public TeamingPolicy.Builder setRollingOrder(java.lang.Boolean rollingOrder)
Flag for preemptive mode- Parameters:
rollingOrder
- New value for the property.
-
setStandbyList
public TeamingPolicy.Builder setStandbyList(java.util.List<Uplink> standbyList)
List of Uplinks used in standby list- Parameters:
standbyList
- New value for the property.
-
build
public TeamingPolicy build()
-
-