Class ConfluentResourceName

java.lang.Object
io.confluent.crn.ConfluentResourceName
All Implemented Interfaces:
Comparable<ConfluentResourceName>

public class ConfluentResourceName extends Object implements Comparable<ConfluentResourceName>
A ConfluentResourceName is a compound identifier that identifies a resource or pattern. The textual representation of a CRN is a URI with a scheme of "crn". The Authority section of the URI SHOULD BE a domain name controlled by the organization that is responsible for the names. The Path section of the URI is a sequence of type=identifier elements, separated by /. The identifiers are URL Encoded, so that any unusual characters are escaped. If the CRN represents a pattern, the Path section will contain a literal '*' (not URL Encoded) at the end of an identifier for a PREFIX pattern, or in place of an identifier for an ANY pattern. A CRN pattern with an empty Authority section matches ANY Authority. (The converse is not true: A CRN pattern with a non-empty Authority will not match a CRN with an empty Authority).