Constructor and Description |
---|
Builder()
Constructor with parameters for the required properties of
Lag . |
Modifier and Type | Method and Description |
---|---|
Lag |
build() |
Lag.Builder |
setId(java.lang.String id)
unique id
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
Lag.Builder |
setLoadBalanceAlgorithm(java.lang.String loadBalanceAlgorithm)
Possible values are:
Lag.LOAD_BALANCE_ALGORITHM_SRCMAC Lag.LOAD_BALANCE_ALGORITHM_DESTMAC Lag.LOAD_BALANCE_ALGORITHM_SRCDESTMAC Lag.LOAD_BALANCE_ALGORITHM_SRCDESTIPVLAN Lag.LOAD_BALANCE_ALGORITHM_SRCDESTMACIPPORT
LACP load balance Algorithm |
Lag.Builder |
setMode(java.lang.String mode)
Possible values are:
Lag.MODE_ACTIVE
Lag.MODE_PASSIVE LACP group mode |
Lag.Builder |
setName(java.lang.String name)
Lag name
|
Lag.Builder |
setNumberOfUplinks(java.lang.Long numberOfUplinks)
number of uplinks format: int32
|
Lag.Builder |
setTimeoutType(java.lang.String timeoutType)
Possible values are:
Lag.TIMEOUT_TYPE_SLOW Lag.TIMEOUT_TYPE_FAST LACP timeout type |
Lag.Builder |
setUplinks(java.util.List<Uplink> uplinks)
uplink names
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
public Builder()
Lag
.public Lag.Builder setId(java.lang.String id)
id
- New value for the property.public Lag.Builder setLoadBalanceAlgorithm(java.lang.String loadBalanceAlgorithm)
loadBalanceAlgorithm
- New value for the property.public Lag.Builder setMode(java.lang.String mode)
mode
- New value for the property.public Lag.Builder setName(java.lang.String name)
name
- New value for the property.public Lag.Builder setNumberOfUplinks(java.lang.Long numberOfUplinks)
numberOfUplinks
- New value for the property.public Lag.Builder setTimeoutType(java.lang.String timeoutType)
timeoutType
- New value for the property.public Lag.Builder setUplinks(java.util.List<Uplink> uplinks)
uplinks
- New value for the property.public Lag build()