Package com.ngrok.services
Class HttpsEdgeTlsTerminationModule.ReplaceCallBuilder
java.lang.Object
com.ngrok.services.HttpsEdgeTlsTerminationModule.ReplaceCallBuilder
- Enclosing class:
- HttpsEdgeTlsTerminationModule
A builder object encapsulating state for an unsent Replace API call.
-
Method Summary
Modifier and TypeMethodDescriptionInitiates the API call and blocks until it returns.call()Initiates the API call asynchronously.module(EndpointTlsTerminationAtEdge module) Sets themoduleparameter.module(Optional<EndpointTlsTerminationAtEdge> module) Sets (or unsets) themoduleparameter.
-
Method Details
-
module
Sets themoduleparameter.- Parameters:
module- the value of the module parameter as aEndpointTlsTerminationAtEdge- Returns:
- the call builder instance
-
module
public HttpsEdgeTlsTerminationModule.ReplaceCallBuilder module(Optional<EndpointTlsTerminationAtEdge> module) Sets (or unsets) themoduleparameter.- Parameters:
module- the value of the module parameter as anOptionalofEndpointTlsTerminationAtEdge- Returns:
- the call builder instance
-
call
Initiates the API call asynchronously.- Returns:
- a
CompletionStageofEndpointTlsTermination
-
blockingCall
Initiates the API call and blocks until it returns.- Returns:
EndpointTlsTermination- Throws:
InterruptedException- if the thread was interrupted during the call
-