Package com.ngrok.definitions
Class EndpointWebsocketTcpConverter.Builder
java.lang.Object
com.ngrok.definitions.EndpointWebsocketTcpConverter.Builder
- Enclosing class:
- EndpointWebsocketTcpConverter
Builder class for
EndpointWebsocketTcpConverter.-
Method Summary
Modifier and TypeMethodDescriptionbuild()Constructs theEndpointWebsocketTcpConverterinstance.enabled(boolean enabled) trueif the module will be applied to traffic,falseto disable.trueif the module will be applied to traffic,falseto disable.
-
Method Details
-
enabled
trueif the module will be applied to traffic,falseto disable. defaulttrueif unspecified- Parameters:
enabled- the value of theenabledparameter as aboolean- Returns:
- this builder instance
-
enabled
trueif the module will be applied to traffic,falseto disable. defaulttrueif unspecified- Parameters:
enabled- the value of theenabledparameter as aboolean, wrapped in anOptional- Returns:
- this builder instance
-
build
Constructs theEndpointWebsocketTcpConverterinstance.- Returns:
- a new
EndpointWebsocketTcpConverter
-