public static final class OspfAuthenticationConfig.Builder
extends java.lang.Object
OspfAuthenticationConfig.| Constructor and Description |
|---|
Builder()
Constructor with parameters for the required properties of
OspfAuthenticationConfig. |
| Modifier and Type | Method and Description |
|---|---|
OspfAuthenticationConfig |
build() |
OspfAuthenticationConfig.Builder |
setKeyId(java.lang.Long keyId)
Authentication secret key id is mandatory for type md5 with min value of 1 and
max value 255.
|
OspfAuthenticationConfig.Builder |
setMode(java.lang.String mode)
Possible values are:
OspfAuthenticationConfig.MODE_NONE OspfAuthenticationConfig.MODE_PASSWORD
OspfAuthenticationConfig.MODE_MD5
If mode is MD5 or PASSWORD, Authentication secret key is mandatory if mode is
NONE, then authentication is deactivated. |
OspfAuthenticationConfig.Builder |
setSecretKey(java.lang.String secretKey)
Authentication secret is mandatory for type password and md5 with min length of
1 and max length 8.
|
public Builder()
OspfAuthenticationConfig.public OspfAuthenticationConfig.Builder setKeyId(java.lang.Long keyId)
keyId - New value for the property.public OspfAuthenticationConfig.Builder setMode(java.lang.String mode)
mode - New value for the property.public OspfAuthenticationConfig.Builder setSecretKey(java.lang.String secretKey)
secretKey - New value for the property.public OspfAuthenticationConfig build()