final case class Endpoint(id: String, region: String, createdAt: OffsetDateTime, updatedAt: OffsetDateTime, publicUrl: URI, proto: String, hostport: String, type: String, metadata: String, domain: Option[Ref] = None, tcpAddr: Option[Ref] = None, tunnel: Option[Ref] = None, edge: Option[Ref] = None) extends Product with Serializable
A class encapsulating the Endpoint resource.
- id
unique endpoint resource identifier
- region
identifier of the region this endpoint belongs to
- createdAt
timestamp when the endpoint was created in RFC 3339 format
- updatedAt
timestamp when the endpoint was updated in RFC 3339 format
- publicUrl
URL of the hostport served by this endpoint
- proto
protocol served by this endpoint. one of
http,https,tcp, ortls- hostport
hostport served by this endpoint (hostname:port)
- metadata
user-supplied metadata of the associated tunnel or edge object
- domain
the domain reserved for this endpoint
- tcpAddr
the address reserved for this endpoint
- tunnel
the tunnel serving requests to this endpoint, if this is an ephemeral endpoint
- edge
the edge serving requests to this endpoint, if this is an edge endpoint
- Alphabetic
- By Inheritance
- Endpoint
- Serializable
- Product
- Equals
- AnyRef
- Any
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new Endpoint(id: String, region: String, createdAt: OffsetDateTime, updatedAt: OffsetDateTime, publicUrl: URI, proto: String, hostport: String, type: String, metadata: String, domain: Option[Ref] = None, tcpAddr: Option[Ref] = None, tunnel: Option[Ref] = None, edge: Option[Ref] = None)
create a new Endpoint.
create a new Endpoint.
- id
unique endpoint resource identifier
- region
identifier of the region this endpoint belongs to
- createdAt
timestamp when the endpoint was created in RFC 3339 format
- updatedAt
timestamp when the endpoint was updated in RFC 3339 format
- publicUrl
URL of the hostport served by this endpoint
- proto
protocol served by this endpoint. one of
http,https,tcp, ortls- hostport
hostport served by this endpoint (hostname:port)
- metadata
user-supplied metadata of the associated tunnel or edge object
- domain
the domain reserved for this endpoint
- tcpAddr
the address reserved for this endpoint
- tunnel
the tunnel serving requests to this endpoint, if this is an ephemeral endpoint
- edge
the edge serving requests to this endpoint, if this is an edge endpoint
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- def +(other: String): String
- def ->[B](y: B): (Endpoint, B)
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- val createdAt: OffsetDateTime
- val domain: Option[Ref]
- val edge: Option[Ref]
- def ensuring(cond: (Endpoint) => Boolean, msg: => Any): Endpoint
- def ensuring(cond: (Endpoint) => Boolean): Endpoint
- def ensuring(cond: Boolean, msg: => Any): Endpoint
- def ensuring(cond: Boolean): Endpoint
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- val hostport: String
- val id: String
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val metadata: String
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- val proto: String
- val publicUrl: URI
- val region: String
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- val tcpAddr: Option[Ref]
- val tunnel: Option[Ref]
- val type: String
- val updatedAt: OffsetDateTime
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- 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()
Deprecated Value Members
- def formatted(fmtstr: String): String
- Implicit
- This member is added by an implicit conversion from Endpoint toStringFormat[Endpoint] performed by method StringFormat in scala.Predef.
- Definition Classes
- StringFormat
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 2.12.16) Use
formatString.format(value)instead ofvalue.formatted(formatString), or use thef""string interpolator. In Java 15 and later,formattedresolves to the new method in String which has reversed parameters.
- def →[B](y: B): (Endpoint, B)
- Implicit
- This member is added by an implicit conversion from Endpoint toArrowAssoc[Endpoint] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use
->instead. If you still wish to display it as one character, consider using a font with programming ligatures such as Fira Code.