Interface Bucket
-
- All Superinterfaces:
ActionList
,org.opendaylight.yangtools.yang.binding.Augmentable<Bucket>
,org.opendaylight.yangtools.yang.binding.BindingObject
,org.opendaylight.yangtools.yang.binding.ChildOf<Buckets>
,org.opendaylight.yangtools.yang.binding.DataContainer
,org.opendaylight.yangtools.yang.binding.DataObject
,org.opendaylight.yangtools.yang.binding.Identifiable<BucketKey>
public interface Bucket extends org.opendaylight.yangtools.yang.binding.ChildOf<Buckets>, org.opendaylight.yangtools.yang.binding.Augmentable<Bucket>, ActionList, org.opendaylight.yangtools.yang.binding.Identifiable<BucketKey>
This class represents the following YANG schema fragment defined in module opendaylight-group-types
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/bucketTo create instances of this class use
BucketBuilder
.- See Also:
BucketBuilder
,BucketKey
-
-
Field Summary
Fields Modifier and Type Field Description static @NonNull org.opendaylight.yangtools.yang.common.QName
QNAME
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description @Nullable BucketId
getBucketId()
@Nullable org.opendaylight.yangtools.yang.common.Uint32
getWatchGroup()
@Nullable org.opendaylight.yangtools.yang.common.Uint32
getWatchPort()
@Nullable org.opendaylight.yangtools.yang.common.Uint16
getWeight()
default Class<Bucket>
implementedInterface()
BucketKey
key()
-
Methods inherited from interface org.opendaylight.yang.gen.v1.urn.opendaylight.action.types.rev131112.ActionList
getAction, nonnullAction
-
-
-
-
Method Detail
-
implementedInterface
default Class<Bucket> implementedInterface()
- Specified by:
implementedInterface
in interfaceActionList
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataContainer
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
getBucketId
@Nullable BucketId getBucketId()
- Returns:
org.opendaylight.yang.gen.v1.urn.opendaylight.group.types.rev131018.BucketId
bucketId
, ornull
if not present
-
getWeight
@Nullable org.opendaylight.yangtools.yang.common.Uint16 getWeight()
- Returns:
org.opendaylight.yangtools.yang.common.Uint16
weight
, ornull
if not present
-
getWatchPort
@Nullable org.opendaylight.yangtools.yang.common.Uint32 getWatchPort()
- Returns:
org.opendaylight.yangtools.yang.common.Uint32
watchPort
, ornull
if not present
-
getWatchGroup
@Nullable org.opendaylight.yangtools.yang.common.Uint32 getWatchGroup()
- Returns:
org.opendaylight.yangtools.yang.common.Uint32
watchGroup
, ornull
if not present
-
-