Interface SystemNtpAuthKeysConfig
-
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.BindingObject,org.opendaylight.yangtools.yang.binding.DataContainer,org.opendaylight.yangtools.yang.binding.DataObject
@Generated("mdsal-binding-generator") public interface SystemNtpAuthKeysConfig extends org.opendaylight.yangtools.yang.binding.DataObject
Configuration dataThis class represents the following YANG schema fragment defined in module openconfig-system
grouping system-ntp-auth-keys-config { leaf key-id { type uint16; } leaf key-type { type identityref { base NTP_AUTH_TYPE; } } leaf key-value { type string; } }
-
-
Field Summary
Fields Modifier and Type Field Description static @NonNull org.opendaylight.yangtools.yang.common.QNameQNAMEYANG identifier of the statement represented by this class.
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description org.opendaylight.yangtools.yang.common.Uint16getKeyId()Return keyId, ornullif it is not present.Class<? extends NTPAUTHTYPE>getKeyType()Return keyType, ornullif it is not present.StringgetKeyValue()Return keyValue, ornullif it is not present.Class<? extends SystemNtpAuthKeysConfig>implementedInterface()default @NonNull org.opendaylight.yangtools.yang.common.Uint16requireKeyId()Return keyId, guaranteed to be non-null.default @NonNull Class<? extends NTPAUTHTYPE>requireKeyType()Return keyType, guaranteed to be non-null.default @NonNull StringrequireKeyValue()Return keyValue, guaranteed to be non-null.
-
-
-
Method Detail
-
implementedInterface
Class<? extends SystemNtpAuthKeysConfig> implementedInterface()
- Specified by:
implementedInterfacein interfaceorg.opendaylight.yangtools.yang.binding.DataContainer- Specified by:
implementedInterfacein interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
getKeyId
org.opendaylight.yangtools.yang.common.Uint16 getKeyId()
Return keyId, ornullif it is not present.Integer identifier used by the client and server to designate a secret key. The client and server must use the same key id.- Returns:
Uint16keyId, ornullif it is not present.
-
requireKeyId
default @NonNull org.opendaylight.yangtools.yang.common.Uint16 requireKeyId()
Return keyId, guaranteed to be non-null.Integer identifier used by the client and server to designate a secret key. The client and server must use the same key id.- Returns:
Uint16keyId, guaranteed to be non-null.- Throws:
NoSuchElementException- if keyId is not present
-
getKeyType
Class<? extends NTPAUTHTYPE> getKeyType()
Return keyType, ornullif it is not present.Encryption type used for the NTP authentication key- Returns:
Class<? extends NTPAUTHTYPE>keyType, ornullif it is not present.
-
requireKeyType
default @NonNull Class<? extends NTPAUTHTYPE> requireKeyType()
Return keyType, guaranteed to be non-null.Encryption type used for the NTP authentication key- Returns:
Class<? extends NTPAUTHTYPE>keyType, guaranteed to be non-null.- Throws:
NoSuchElementException- if keyType is not present
-
getKeyValue
String getKeyValue()
Return keyValue, ornullif it is not present.NTP authentication key value- Returns:
StringkeyValue, ornullif it is not present.
-
requireKeyValue
default @NonNull String requireKeyValue()
Return keyValue, guaranteed to be non-null.NTP authentication key value- Returns:
StringkeyValue, guaranteed to be non-null.- Throws:
NoSuchElementException- if keyValue is not present
-
-