Package com.ngrok.definitions
Class FailoverBackendList
java.lang.Object
com.ngrok.definitions.FailoverBackendList
- All Implemented Interfaces:
Pageable
A class encapsulating the
FailoverBackendList
resource.-
Constructor Summary
ConstructorDescriptionFailoverBackendList
(List<FailoverBackend> backends, URI uri, Optional<URI> nextPageUri) Creates a new instance ofFailoverBackendList
. -
Method Summary
-
Constructor Details
-
FailoverBackendList
Creates a new instance ofFailoverBackendList
.- Parameters:
backends
- the list of all Failover backends on this accounturi
- URI of the Failover backends list API resourcenextPageUri
- URI of the next page, or null if there is no next page
-
-
Method Details
-
getBackends
the list of all Failover backends on this account- Returns:
- the value of the property as a
List
ofFailoverBackend
-
getUri
URI of the Failover backends list API resource- Returns:
- the value of the property as a
URI
-
getNextPageUri
URI of the next page, or null if there is no next page- Specified by:
getNextPageUri
in interfacePageable
- Returns:
- the value of the property as a
URI
wrapped in anOptional
-
equals
-
hashCode
public int hashCode() -
toString
-