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

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

    • BucketKey

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

      public BucketKey(BucketKey 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