Package com.ngrok.definitions
Class EndpointBackend
java.lang.Object
com.ngrok.definitions.EndpointBackend
A class encapsulating the
EndpointBackend
resource.-
Constructor Summary
ConstructorDescriptionEndpointBackend
(Optional<Boolean> enabled, Ref backend) Creates a new instance ofEndpointBackend
. -
Method Summary
-
Constructor Details
-
EndpointBackend
Creates a new instance ofEndpointBackend
.- Parameters:
enabled
-true
if the module will be applied to traffic,false
to disable. defaulttrue
if unspecifiedbackend
- backend to be used to back this endpoint
-
-
Method Details
-
getEnabled
true
if the module will be applied to traffic,false
to disable. defaulttrue
if unspecified- Returns:
- the value of the property as a
boolean
wrapped 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
-