Package com.ngrok.services
Class IpPolicies.ListCallBuilder
java.lang.Object
com.ngrok.services.IpPolicies.ListCallBuilder
- Enclosing class:
- IpPolicies
A builder object encapsulating state for an unsent List API call.
- 
Method SummaryModifier and TypeMethodDescriptionSets thebefore_idparameter.Sets (or unsets) thebefore_idparameter.Initiates the API call and blocks until it returns.call()Initiates the API call asynchronously.Sets thelimitparameter.Sets (or unsets) thelimitparameter.
- 
Method Details- 
beforeIdSets thebefore_idparameter.- Parameters:
- beforeId- the value of the before_id parameter as a- String
- Returns:
- the call builder instance
 
- 
beforeIdSets (or unsets) thebefore_idparameter.
- 
limitSets thelimitparameter.- Parameters:
- limit- the value of the limit parameter as a- String
- Returns:
- the call builder instance
 
- 
limitSets (or unsets) thelimitparameter.
- 
callInitiates the API call asynchronously.- Returns:
- a CompletionStageof aPageofIpPolicyList
 
- 
blockingCallInitiates the API call and blocks until it returns.- Returns:
- a PageofIpPolicyList
- Throws:
- InterruptedException- if the thread was interrupted during the call
 
 
-