public static final class LacpGroupConfigInfo.Builder
extends java.lang.Object
LacpGroupConfigInfo
.Constructor and Description |
---|
Builder()
Constructor with parameters for the required properties of
LacpGroupConfigInfo . |
Modifier and Type | Method and Description |
---|---|
LacpGroupConfigInfo |
build() |
LacpGroupConfigInfo.Builder |
setKey(java.lang.String key)
The key represents the identifier for the group that is unique across VC.
|
LacpGroupConfigInfo.Builder |
setLoadBalanceAlgorithm(java.lang.String loadBalanceAlgorithm)
Load balance algorithm used in LACP group.
|
LacpGroupConfigInfo.Builder |
setMode(java.lang.String mode)
Possible values are:
LacpGroupConfigInfo.MODE_ACTIVE LacpGroupConfigInfo.MODE_PASSIVE The mode of
LACP can be ACTIVE or PASSIVE. |
LacpGroupConfigInfo.Builder |
setName(java.lang.String name)
The display name of the LACP group.
|
LacpGroupConfigInfo.Builder |
setTimeoutType(java.lang.String timeoutType)
Possible values are:
LacpGroupConfigInfo.TIMEOUT_TYPE_FAST LacpGroupConfigInfo.TIMEOUT_TYPE_SLOW To set
the lag mode as fast for LACP. |
LacpGroupConfigInfo.Builder |
setUplinkNames(java.util.List<java.lang.String> uplinkNames)
Names for the uplink ports in the group.
|
LacpGroupConfigInfo.Builder |
setUplinkNum(java.lang.Long uplinkNum)
The number of uplink ports format: int64
|
LacpGroupConfigInfo.Builder |
setUplinkPortKeys(java.util.List<java.lang.String> uplinkPortKeys)
Keys for the uplink ports in the group.
|
public Builder()
LacpGroupConfigInfo
.public LacpGroupConfigInfo.Builder setKey(java.lang.String key)
key
- New value for the property.public LacpGroupConfigInfo.Builder setLoadBalanceAlgorithm(java.lang.String loadBalanceAlgorithm)
loadBalanceAlgorithm
- New value for the property.public LacpGroupConfigInfo.Builder setMode(java.lang.String mode)
mode
- New value for the property.public LacpGroupConfigInfo.Builder setName(java.lang.String name)
name
- New value for the property.public LacpGroupConfigInfo.Builder setTimeoutType(java.lang.String timeoutType)
timeoutType
- New value for the property.public LacpGroupConfigInfo.Builder setUplinkNames(java.util.List<java.lang.String> uplinkNames)
uplinkNames
- New value for the property.public LacpGroupConfigInfo.Builder setUplinkNum(java.lang.Long uplinkNum)
uplinkNum
- New value for the property.public LacpGroupConfigInfo.Builder setUplinkPortKeys(java.util.List<java.lang.String> uplinkPortKeys)
uplinkPortKeys
- New value for the property.public LacpGroupConfigInfo build()