Package com.ngrok.definitions
Class TunnelGroupBackend
java.lang.Object
com.ngrok.definitions.TunnelGroupBackend
A class encapsulating the
TunnelGroupBackend
resource.-
Constructor Summary
ConstructorDescriptionTunnelGroupBackend
(String id, URI uri, OffsetDateTime createdAt, String description, String metadata, Map<String, String> labels, List<Ref> tunnels) Creates a new instance ofTunnelGroupBackend
. -
Method Summary
Modifier and TypeMethodDescriptionboolean
timestamp when the backend was created, RFC 3339 formathuman-readable description of this backend.getId()
unique identifier for this TunnelGroup backendlabels to watch for tunnels on, e.g.arbitrary user-defined machine-readable data of this backend.tunnels matching this backendgetUri()
URI of the TunnelGroupBackend API resourceint
hashCode()
toString()
-
Constructor Details
-
TunnelGroupBackend
public TunnelGroupBackend(String id, URI uri, OffsetDateTime createdAt, String description, String metadata, Map<String, String> labels, List<Ref> tunnels) Creates a new instance ofTunnelGroupBackend
.- Parameters:
id
- unique identifier for this TunnelGroup backenduri
- URI of the TunnelGroupBackend API resourcecreatedAt
- timestamp when the backend was created, RFC 3339 formatdescription
- human-readable description of this backend. Optionalmetadata
- arbitrary user-defined machine-readable data of this backend. Optionallabels
- labels to watch for tunnels on, e.g. app->foo, dc->bartunnels
- tunnels matching this backend
-
-
Method Details
-
getId
unique identifier for this TunnelGroup backend- Returns:
- the value of the property as a
String
-
getUri
URI of the TunnelGroupBackend API resource- Returns:
- the value of the property as a
URI
-
getCreatedAt
timestamp when the backend was created, RFC 3339 format- Returns:
- the value of the property as a
OffsetDateTime
-
getDescription
human-readable description of this backend. Optional- Returns:
- the value of the property as a
String
-
getMetadata
arbitrary user-defined machine-readable data of this backend. Optional- Returns:
- the value of the property as a
String
-
getLabels
labels to watch for tunnels on, e.g. app->foo, dc->bar -
getTunnels
tunnels matching this backend -
equals
-
hashCode
public int hashCode() -
toString
-