Package com.ngrok.services
Class SshHostCertificates.UpdateCallBuilder
java.lang.Object
com.ngrok.services.SshHostCertificates.UpdateCallBuilder
- Enclosing class:
- SshHostCertificates
A builder object encapsulating state for an unsent Update API call.
- 
Method SummaryModifier and TypeMethodDescriptionInitiates the API call and blocks until it returns.call()Initiates the API call asynchronously.description(String description) human-readable description of this SSH Host Certificate.description(Optional<String> description) human-readable description of this SSH Host Certificate.arbitrary user-defined machine-readable data of this SSH Host Certificate.arbitrary user-defined machine-readable data of this SSH Host Certificate.
- 
Method Details- 
descriptionhuman-readable description of this SSH Host Certificate. optional, max 255 bytes.- Parameters:
- description- the value of the description parameter as a- String
- Returns:
- the call builder instance
 
- 
descriptionhuman-readable description of this SSH Host Certificate. optional, max 255 bytes.
- 
metadataarbitrary user-defined machine-readable data of this SSH Host Certificate. optional, max 4096 bytes.- Parameters:
- metadata- the value of the metadata parameter as a- String
- Returns:
- the call builder instance
 
- 
metadataarbitrary user-defined machine-readable data of this SSH Host Certificate. optional, max 4096 bytes.
- 
callInitiates the API call asynchronously.- Returns:
- a CompletionStageofSshHostCertificate
 
- 
blockingCallInitiates the API call and blocks until it returns.- Returns:
- SshHostCertificate
- Throws:
- InterruptedException- if the thread was interrupted during the call
 
 
-