Package com.ngrok.services
Class SshCredentials.ListCallBuilder
java.lang.Object
com.ngrok.services.SshCredentials.ListCallBuilder
- Enclosing class:
- SshCredentials
A builder object encapsulating state for an unsent List API call.
-
Method Summary
Modifier and TypeMethodDescriptionSets thebefore_id
parameter.Sets (or unsets) thebefore_id
parameter.Initiates the API call and blocks until it returns.call()
Initiates the API call asynchronously.Sets thelimit
parameter.Sets (or unsets) thelimit
parameter.
-
Method Details
-
beforeId
Sets thebefore_id
parameter.- Parameters:
beforeId
- the value of the before_id parameter as aString
- Returns:
- the call builder instance
-
beforeId
Sets (or unsets) thebefore_id
parameter. -
limit
Sets thelimit
parameter.- Parameters:
limit
- the value of the limit parameter as aString
- Returns:
- the call builder instance
-
limit
Sets (or unsets) thelimit
parameter. -
call
Initiates the API call asynchronously.- Returns:
- a
CompletionStage
of aPage
ofSshCredentialList
-
blockingCall
Initiates the API call and blocks until it returns.- Returns:
- a
Page
ofSshCredentialList
- Throws:
InterruptedException
- if the thread was interrupted during the call
-