Interface SystemNtpAuthKeysConfig
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.BindingContract<org.opendaylight.yangtools.yang.binding.DataContainer>,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 data
This 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
FieldsModifier and TypeFieldDescriptionstatic final @NonNull org.opendaylight.yangtools.yang.common.QNameYANG identifier of the statement represented by this class. -
Method Summary
Modifier and TypeMethodDescriptionorg.opendaylight.yangtools.yang.common.Uint16getKeyId()Return keyId, ornullif it is not present.Return keyType, ornullif it is not present.Return keyValue, ornullif it is not present.Class<? extends SystemNtpAuthKeysConfig>default @NonNull org.opendaylight.yangtools.yang.common.Uint16Return keyId, guaranteed to be non-null.default @NonNull NTPAUTHTYPEReturn keyType, guaranteed to be non-null.default @NonNull StringReturn keyValue, guaranteed to be non-null.
-
Field Details
-
QNAME
static final @NonNull org.opendaylight.yangtools.yang.common.QName QNAMEYANG identifier of the statement represented by this class.
-
-
Method Details
-
implementedInterface
Class<? extends SystemNtpAuthKeysConfig> implementedInterface()- Specified by:
implementedInterfacein interfaceorg.opendaylight.yangtools.yang.binding.BindingContract<org.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
NTPAUTHTYPE getKeyType()Return keyType, ornullif it is not present.Encryption type used for the NTP authentication key- Returns:
NTPAUTHTYPEkeyType, ornullif it is not present.
-
requireKeyType
Return keyType, guaranteed to be non-null.Encryption type used for the NTP authentication key- Returns:
NTPAUTHTYPEkeyType, 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
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
-