Package com.ngrok.definitions
Class EndpointBackend
java.lang.Object
com.ngrok.definitions.EndpointBackend
A class encapsulating the
EndpointBackend resource.-
Constructor Summary
ConstructorsConstructorDescriptionEndpointBackend(Optional<Boolean> enabled, Ref backend) Creates a new instance ofEndpointBackend. -
Method Summary
-
Constructor Details
-
EndpointBackend
Creates a new instance ofEndpointBackend.- Parameters:
enabled-trueif the module will be applied to traffic,falseto disable. defaulttrueif unspecifiedbackend- backend to be used to back this endpoint
-
-
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
-
getBackend
backend to be used to back this endpoint- Returns:
- the value of the property as a
Ref
-
equals
-
hashCode
public int hashCode() -
toString
-