Package com.ngrok.definitions
Class EndpointCompression.Builder
java.lang.Object
com.ngrok.definitions.EndpointCompression.Builder
- Enclosing class:
- EndpointCompression
Builder class for
EndpointCompression.-
Method Summary
Modifier and TypeMethodDescriptionbuild()Constructs theEndpointCompressioninstance.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 theEndpointCompressioninstance.- Returns:
- a new
EndpointCompression
-