Package com.ngrok.definitions
Class EndpointLogging
java.lang.Object
com.ngrok.definitions.EndpointLogging
A class encapsulating the
EndpointLogging resource.-
Constructor Summary
ConstructorsConstructorDescriptionEndpointLogging(Optional<Boolean> enabled, List<Ref> eventStreams)Creates a new instance ofEndpointLogging. -
Method Summary
-
Constructor Details
-
EndpointLogging
Creates a new instance ofEndpointLogging.- Parameters:
enabled-trueif the module will be applied to traffic,falseto disable. defaulttrueif unspecifiedeventStreams- list of all EventStreams that will be used to configure and export this endpoint's logs
-
-
Method Details
-
getEnabled
trueif the module will be applied to traffic,falseto disable. defaulttrueif unspecified- Returns:
- the value of the property as a
booleanwrapped in anOptional
-
getEventStreams
list of all EventStreams that will be used to configure and export this endpoint's logs -
equals
-
hashCode
public int hashCode() -
toString
-