java.lang.Object
org.opendaylight.yang.gen.v1.urn.opendaylight.group.types.rev131018.group.statistics.buckets.BucketCounterKey
All Implemented Interfaces:
Serializable, org.opendaylight.yangtools.concepts.Identifier, org.opendaylight.yangtools.concepts.Immutable, org.opendaylight.yangtools.yang.binding.Identifier<BucketCounter>

@Generated("mdsal-binding-generator") public class BucketCounterKey extends Object implements org.opendaylight.yangtools.yang.binding.Identifier<BucketCounter>
This class represents the key of BucketCounter class.
See Also:
  • Constructor Details

    • BucketCounterKey

      public BucketCounterKey(@NonNull BucketId _bucketId)
      Constructs an instance.
      Parameters:
      _bucketId - the entity bucketId
      Throws:
      NullPointerException - if any of the arguments are null
    • BucketCounterKey

      public BucketCounterKey(BucketCounterKey source)
      Creates a copy from Source Object.
      Parameters:
      source - Source object
  • Method Details

    • getBucketId

      public @NonNull BucketId getBucketId()
      Return bucketId, guaranteed to be non-null.
      Returns:
      BucketId bucketId, guaranteed to be non-null.
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface org.opendaylight.yangtools.concepts.Identifier
      Overrides:
      hashCode in class Object
    • equals

      public final boolean equals(Object obj)
      Specified by:
      equals in interface org.opendaylight.yangtools.concepts.Identifier
      Overrides:
      equals in class Object
    • toString

      public String toString()
      Specified by:
      toString in interface org.opendaylight.yangtools.concepts.Identifier
      Overrides:
      toString in class Object