Package com.ngrok.services
Class EdgesTcp
java.lang.Object
com.ngrok.services.EdgesTcp
An API client for
EdgesTcp
.
See also https://ngrok.com/docs/api#api-edges-tcp.-
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 List API call.class
A builder object encapsulating state for an unsent Update API call. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreate()
Create a TCP Edge See also https://ngrok.com/docs/api#api-edges-tcp-create.Delete a TCP Edge by ID See also https://ngrok.com/docs/api#api-edges-tcp-delete.Get a TCP Edge by ID See also https://ngrok.com/docs/api#api-edges-tcp-get.list()
Returns a list of all TCP Edges on this account See also https://ngrok.com/docs/api#api-edges-tcp-list.Updates a TCP Edge by ID.
-
Constructor Details
-
EdgesTcp
Creates a new sub-client for EdgesTcp.- Parameters:
apiClient
- an instance ofNgrokApiClient
-
-
Method Details
-
create
Create a TCP Edge See also https://ngrok.com/docs/api#api-edges-tcp-create.- Returns:
- a call builder for this API call
-
get
Get a TCP Edge by ID See also https://ngrok.com/docs/api#api-edges-tcp-get.- Parameters:
id
- a resource identifier- Returns:
- a call builder for this API call
-
list
Returns a list of all TCP Edges on this account See also https://ngrok.com/docs/api#api-edges-tcp-list.- Returns:
- a call builder for this API call
-
update
Updates a TCP Edge 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-tcp-update.- Parameters:
id
- unique identifier of this edge- Returns:
- a call builder for this API call
-
delete
Delete a TCP Edge by ID See also https://ngrok.com/docs/api#api-edges-tcp-delete.- Parameters:
id
- a resource identifier- Returns:
- a call builder for this API call
-