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 user

    This 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 Detail

      • QNAME

        static final @NonNull org.opendaylight.yangtools.yang.common.QName QNAME
    • Method Detail

      • implementedInterface

        Class<? extends AaaAdminState> implementedInterface()
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataContainer
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataObject
      • getAdminUsername

        String getAdminUsername()
        Return adminUsername, or null if it is not present.
             
                 Name of the administrator user account, e.g., admin, root, etc.
             
         
        Returns:
        String adminUsername, or null if 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:
        String adminUsername, guaranteed to be non-null.
        Throws:
        NoSuchElementException - if adminUsername is not present