Package com.ngrok.definitions
Class WeightedBackendList
java.lang.Object
com.ngrok.definitions.WeightedBackendList
- All Implemented Interfaces:
Pageable
A class encapsulating the
WeightedBackendList
resource.-
Constructor Summary
ConstructorDescriptionWeightedBackendList
(List<WeightedBackend> backends, URI uri, Optional<URI> nextPageUri) Creates a new instance ofWeightedBackendList
. -
Method Summary
-
Constructor Details
-
WeightedBackendList
Creates a new instance ofWeightedBackendList
.- Parameters:
backends
- the list of all Weighted backends on this accounturi
- URI of the Weighted backends list API resourcenextPageUri
- URI of the next page, or null if there is no next page
-
-
Method Details
-
getBackends
the list of all Weighted backends on this account- Returns:
- the value of the property as a
List
ofWeightedBackend
-
getUri
URI of the Weighted 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
-