public final class TagKey
extends java.lang.Object
TagKey's are Strings with enforced restrictions.
| Modifier and Type | Field and Description |
|---|---|
static int |
MAX_LENGTH |
public static final int MAX_LENGTH
public static TagKey create(java.lang.String key)
TagKey from the given string. The string will be sanitize such that:
MAX_LENGTH, strings longer than that will be truncated.
public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object