NamespacedKey, NamespacedTagpublic interface Namespaced
NamespacedKey for single elements
or NamespacedTag for a collection of elements
Namespaces may only contain lowercase alphanumeric characters, periods,
underscores, and hyphens.
Keys may only contain lowercase alphanumeric characters, periods, underscores, hyphens, and forward slashes.
You should not be implementing this interface yourself, use NamespacedKey
or NamespacedTag as needed instead.
| Modifier and Type | Method | Description |
|---|---|---|
String |
getKey() |
Gets the key corresponding to this resource
|
String |
getNamespace() |
Gets the namespace this resource is a part of
|
@NotNull String getNamespace()
This is contractually obligated to only contain lowercase alphanumeric characters, periods, underscores, and hyphens.
@NotNull String getKey()
This is contractually obligated to only contain lowercase alphanumeric characters, periods, underscores, hyphens, and forward slashes.
Copyright © 2020. All rights reserved.