final case class HRN(partition: String, service: String, region: String, account: String, resource: String) extends Serializable with Product
An HRN (HERE Resource Name) is a resource descriptor that provides a globally unique handle for a resource. The HRN is generated by the HERE platform when the resource is created. Its structure can vary, so you should not try to parse HRNs or infer any meaning from them. Once a resource is created you cannot change the resource's HRN.
The string presentation of an HRN consists of the prefix "hrn:" followed by 5 colon (":") delimited fields: hrn:{partition}:{service}:{region}:{account}:{resource}
The resource field must be non-empty, but the other fields can be empty if they aren't relevant to the resource being identified.
For example, HERE Map Content catalog has the following HRN: "hrn:here:data::olp-here:rib-2".
In this case:
- partition - here
- service - data
- region - (empty)
- account - olp-here
- resource - rib-2
- partition
the federated environment in which the resource resides
- service
the well-known service name to request this resource from
- region
the region of the partition the service resides in if it is not global
- account
the customer/account this resource is associated with
- resource
a string identifier that uniquely identifies the resource in question
- Alphabetic
- By Inheritance
- HRN
- Product
- Equals
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new HRN(partition: String, service: String, region: String, account: String, resource: String)
- partition
the federated environment in which the resource resides
- service
the well-known service name to request this resource from
- region
the region of the partition the service resides in if it is not global
- account
the customer/account this resource is associated with
- resource
a string identifier that uniquely identifies the resource in question
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- val account: String
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- val partition: String
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- val region: String
- val resource: String
- val service: String
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- lazy val toString: String
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)