Interface Buckets

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

    public interface Buckets
    extends org.opendaylight.yangtools.yang.binding.ChildOf<Group>, org.opendaylight.yangtools.yang.binding.Augmentable<Buckets>

    This class represents the following YANG schema fragment defined in module opendaylight-group-types

     container buckets {
       list bucket {
         key bucket-id;
         leaf bucket-id {
           type bucket-id;
         }
         leaf weight {
           type uint16;
         }
         leaf watch_port {
           type uint32;
         }
         leaf watch_group {
           type uint32;
         }
         uses action:action-list;
       }
     }
     
    The schema path to identify an instance is opendaylight-group-types/group/buckets

    To create instances of this class use BucketsBuilder.

    See Also:
    BucketsBuilder
    • Field Detail

      • QNAME

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

      • implementedInterface

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

        @Nullable Map<BucketKey,​Bucket> getBucket()
        Returns:
        java.util.Map bucket, or null if not present
      • nonnullBucket

        default @NonNull Map<BucketKey,​Bucket> nonnullBucket()
        Returns:
        java.util.Map bucket, or an empty list if it is not present