Interface AaaAdminState
-
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.BindingObject,org.opendaylight.yangtools.yang.binding.DataContainer,org.opendaylight.yangtools.yang.binding.DataObject
- All Known Subinterfaces:
State
@Generated("mdsal-binding-generator") public interface AaaAdminState extends org.opendaylight.yangtools.yang.binding.DataObject
Operational state data for the root userThis class represents the following YANG schema fragment defined in module openconfig-aaa
grouping aaa-admin-state { leaf admin-username { type string; } }The schema path to identify an instance is openconfig-aaaaaa-admin-state
-
-
Field Summary
Fields Modifier and Type Field Description static @NonNull org.opendaylight.yangtools.yang.common.QNameQNAME
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description StringgetAdminUsername()Return adminUsername, ornullif it is not present.Class<? extends AaaAdminState>implementedInterface()default @NonNull StringrequireAdminUsername()Return adminUsername, guaranteed to be non-null.
-
-
-
Method Detail
-
implementedInterface
Class<? extends AaaAdminState> implementedInterface()
- Specified by:
implementedInterfacein interfaceorg.opendaylight.yangtools.yang.binding.DataContainer- Specified by:
implementedInterfacein interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
getAdminUsername
String getAdminUsername()
Return adminUsername, ornullif it is not present.Name of the administrator user account, e.g., admin, root, etc.- Returns:
StringadminUsername, ornullif it is not present.
-
requireAdminUsername
default @NonNull String requireAdminUsername()
Return adminUsername, guaranteed to be non-null.Name of the administrator user account, e.g., admin, root, etc.- Returns:
StringadminUsername, guaranteed to be non-null.- Throws:
NoSuchElementException- if adminUsername is not present
-
-