Interface PrefixShards

  • All Superinterfaces:
    org.opendaylight.yangtools.yang.binding.Augmentable<PrefixShards>, org.opendaylight.yangtools.yang.binding.BindingObject, org.opendaylight.yangtools.yang.binding.ChildOf<PrefixShardConfigurationData>, org.opendaylight.yangtools.yang.binding.DataContainer, org.opendaylight.yangtools.yang.binding.DataObject

    public interface PrefixShards
    extends org.opendaylight.yangtools.yang.binding.ChildOf<PrefixShardConfigurationData>, org.opendaylight.yangtools.yang.binding.Augmentable<PrefixShards>

    This class represents the following YANG schema fragment defined in module prefix-shard-configuration

     container prefix-shards {
       list shard {
         key prefix;
         leaf prefix {
           type instance-identifier;
         }
         container replicas {
           leaf-list replica {
             type string;
           }
         }
       }
     }
     
    The schema path to identify an instance is prefix-shard-configuration/prefix-shards

    To create instances of this class use PrefixShardsBuilder.

    See Also:
    PrefixShardsBuilder
    • Field Detail

      • QNAME

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

      • implementedInterface

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

        @Nullable List<Shard> getShard()
        List of prefix-based shards configured.
        Returns:
        java.util.List shard, or null if not present
      • nonnullShard

        default @NonNull List<Shard> nonnullShard()
        Returns:
        java.util.List shard, or an empty list if it is not present