Package com.ngrok.definitions
Class FailoverBackend
java.lang.Object
com.ngrok.definitions.FailoverBackend
A class encapsulating the
FailoverBackend
resource.-
Constructor Summary
ConstructorDescriptionFailoverBackend
(String id, URI uri, OffsetDateTime createdAt, String description, String metadata, List<String> backends) Creates a new instance ofFailoverBackend
. -
Method Summary
Modifier and TypeMethodDescriptionboolean
the ids of the child backends in ordertimestamp when the backend was created, RFC 3339 formathuman-readable description of this backend.getId()
unique identifier for this Failover backendarbitrary user-defined machine-readable data of this backend.getUri()
URI of the FailoverBackend API resourceint
hashCode()
toString()
-
Constructor Details
-
FailoverBackend
public FailoverBackend(String id, URI uri, OffsetDateTime createdAt, String description, String metadata, List<String> backends) Creates a new instance ofFailoverBackend
.- Parameters:
id
- unique identifier for this Failover backenduri
- URI of the FailoverBackend 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. Optionalbackends
- the ids of the child backends in order
-
-
Method Details
-
getId
unique identifier for this Failover backend- Returns:
- the value of the property as a
String
-
getUri
URI of the FailoverBackend 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
-
getBackends
the ids of the child backends in order -
equals
-
hashCode
public int hashCode() -
toString
-