Interface PrefixShards
-
- All Superinterfaces:
Augmentable<PrefixShards>
,BindingObject
,ChildOf<PrefixShardConfigurationData>
,DataContainer
,DataObject
public interface PrefixShards extends ChildOf<PrefixShardConfigurationData>, 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-shardsTo create instances of this class use
PrefixShardsBuilder
.- See Also:
PrefixShardsBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description @Nullable Map<ShardKey,Shard>
getShard()
List of prefix-based shards configured.default Class<PrefixShards>
implementedInterface()
default @NonNull Map<ShardKey,Shard>
nonnullShard()
-
Methods inherited from interface org.opendaylight.yangtools.yang.binding.Augmentable
augmentation
-
-
-
-
Field Detail
-
QNAME
static final @NonNull QName QNAME
-
-
Method Detail
-
implementedInterface
default Class<PrefixShards> implementedInterface()
- Specified by:
implementedInterface
in interfaceDataContainer
- Specified by:
implementedInterface
in interfaceDataObject
-
getShard
@Nullable Map<ShardKey,Shard> getShard()
List of prefix-based shards configured.- Returns:
java.util.Map
shard
, ornull
if not present
-
-