Package com.ngrok.services
Class EdgesHttpsRoutes
java.lang.Object
com.ngrok.services.EdgesHttpsRoutes
An API client for
EdgesHttpsRoutes
.
See also https://ngrok.com/docs/api#api-edges-https-routes.-
Nested Class Summary
Modifier and TypeClassDescriptionclass
A builder object encapsulating state for an unsent Create API call.class
A builder object encapsulating state for an unsent Delete API call.class
A builder object encapsulating state for an unsent Get API call.class
A builder object encapsulating state for an unsent Update API call. -
Constructor Summary
ConstructorDescriptionEdgesHttpsRoutes
(NgrokApiClient apiClient) Creates a new sub-client for EdgesHttpsRoutes. -
Method Summary
Modifier and TypeMethodDescriptionCreate an HTTPS Edge Route See also https://ngrok.com/docs/api#api-edges-https-routes-create.Delete an HTTPS Edge Route by ID See also https://ngrok.com/docs/api#api-edges-https-routes-delete.Get an HTTPS Edge Route by ID See also https://ngrok.com/docs/api#api-edges-https-routes-get.Updates an HTTPS Edge Route by ID.
-
Constructor Details
-
EdgesHttpsRoutes
Creates a new sub-client for EdgesHttpsRoutes.- Parameters:
apiClient
- an instance ofNgrokApiClient
-
-
Method Details
-
create
Create an HTTPS Edge Route See also https://ngrok.com/docs/api#api-edges-https-routes-create.- Parameters:
edgeId
- unique identifier of this edgematchType
- Type of match to use for this route. Valid values are "exact_path" and "path_prefix".match
- Route selector: "/blog" or "example.com" or "example.com/blog"- Returns:
- a call builder for this API call
-
get
Get an HTTPS Edge Route by ID See also https://ngrok.com/docs/api#api-edges-https-routes-get.- Parameters:
edgeId
- unique identifier of this edgeid
- unique identifier of this edge route- Returns:
- a call builder for this API call
-
update
Updates an HTTPS Edge Route by ID. If a module is not specified in the update, it will not be modified. However, each module configuration that is specified will completely replace the existing value. There is no way to delete an existing module via this API, instead use the delete module API. See also https://ngrok.com/docs/api#api-edges-https-routes-update.- Parameters:
edgeId
- unique identifier of this edgeid
- unique identifier of this edge route- Returns:
- a call builder for this API call
-
delete
Delete an HTTPS Edge Route by ID See also https://ngrok.com/docs/api#api-edges-https-routes-delete.- Parameters:
edgeId
- unique identifier of this edgeid
- unique identifier of this edge route- Returns:
- a call builder for this API call
-