@Value.Immutable public interface ResourceIdentifier extends WithId<ResourceIdentifier>, Serializable
| Modifier and Type | Interface and Description |
|---|---|
static class |
ResourceIdentifier.Builder |
| Modifier and Type | Field and Description |
|---|---|
static Comparator<ResourceIdentifier> |
LATEST_VERSION |
| Modifier and Type | Method and Description |
|---|---|
Kind |
getKind()
Refers to the "target" resource kind.
|
Optional<Integer> |
getVersion() |
Optional<String> |
name() |
default ResourceIdentifier |
withId(String id) |
getId, hasId, idEqualsstatic final Comparator<ResourceIdentifier> LATEST_VERSION
Kind getKind()
default ResourceIdentifier withId(String id)
withId in interface WithId<ResourceIdentifier>withId in interface WithResourceIdCopyright © 2016–2019 Red Hat. All rights reserved.