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 theEndpointCompression
instance.enabled
(boolean enabled) true
if the module will be applied to traffic,false
to disable.true
if the module will be applied to traffic,false
to disable.
-
Method Details
-
enabled
true
if the module will be applied to traffic,false
to disable. defaulttrue
if unspecified- Parameters:
enabled
- the value of theenabled
parameter as aboolean
- Returns:
- this builder instance
-
enabled
true
if the module will be applied to traffic,false
to disable. defaulttrue
if unspecified- Parameters:
enabled
- the value of theenabled
parameter as aboolean
, wrapped in anOptional
- Returns:
- this builder instance
-
build
Constructs theEndpointCompression
instance.- Returns:
- a new
EndpointCompression
-