Package com.ngrok.services
Class SshCertificateAuthorities.ListCallBuilder
java.lang.Object
com.ngrok.services.SshCertificateAuthorities.ListCallBuilder
- Enclosing class:
- SshCertificateAuthorities
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
ofSshCertificateAuthorityList
-
blockingCall
Initiates the API call and blocks until it returns.- Returns:
- a
Page
ofSshCertificateAuthorityList
- Throws:
InterruptedException
- if the thread was interrupted during the call
-