Interface GetPrefixShardRoleOutput

  • All Superinterfaces:
    org.opendaylight.yangtools.yang.binding.Augmentable<GetPrefixShardRoleOutput>, org.opendaylight.yangtools.yang.binding.BindingObject, org.opendaylight.yangtools.yang.binding.DataContainer, org.opendaylight.yangtools.yang.binding.DataObject, org.opendaylight.yangtools.yang.binding.RpcOutput

    public interface GetPrefixShardRoleOutput
    extends org.opendaylight.yangtools.yang.binding.RpcOutput, org.opendaylight.yangtools.yang.binding.Augmentable<GetPrefixShardRoleOutput>

    This class represents the following YANG schema fragment defined in module cluster-admin

     output output {
       leaf role {
         type string;
       }
     }
     
    The schema path to identify an instance is cluster-admin/get-prefix-shard-role/output

    To create instances of this class use GetPrefixShardRoleOutputBuilder.

    See Also:
    GetPrefixShardRoleOutputBuilder
    • Field Detail

      • QNAME

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

      • implementedInterface

        default Class<GetPrefixShardRoleOutput> implementedInterface()
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataContainer
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataObject
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.RpcOutput
      • getRole

        @Nullable String getRole()
        Current role for the given shard, if not present the shard currently does not have a role
        Returns:
        java.lang.String role, or null if not present