Package com.ngrok.services
Class EndpointConfigurations
java.lang.Object
com.ngrok.services.EndpointConfigurations
Endpoint Configurations are a reusable group of modules that encapsulate how
traffic to a domain or address is handled. Endpoint configurations are only
applied to Domains and TCP Addresses they have been attached to.
See also https://ngrok.com/docs/api#api-endpoint-configurations.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclassA builder object encapsulating state for an unsent Create API call.classA builder object encapsulating state for an unsent Delete API call.classA builder object encapsulating state for an unsent Get API call.classA builder object encapsulating state for an unsent List API call.classA builder object encapsulating state for an unsent Update API call. -
Constructor Summary
ConstructorsConstructorDescriptionEndpointConfigurations(NgrokApiClient apiClient)Creates a new sub-client for EndpointConfigurations. -
Method Summary
Modifier and TypeMethodDescriptioncreate()Create a new endpoint configuration See also https://ngrok.com/docs/api#api-endpoint-configurations-create.Delete an endpoint configuration.Returns detailed information about an endpoint configuration See also https://ngrok.com/docs/api#api-endpoint-configurations-get.list()Returns a list of all endpoint configurations on this account See also https://ngrok.com/docs/api#api-endpoint-configurations-list.Updates an endpoint configuration.
-
Constructor Details
-
EndpointConfigurations
Creates a new sub-client for EndpointConfigurations.- Parameters:
apiClient- an instance ofNgrokApiClient
-
-
Method Details
-
create
Create a new endpoint configuration See also https://ngrok.com/docs/api#api-endpoint-configurations-create.- Returns:
- a call builder for this API call
-
delete
Delete an endpoint configuration. This operation will fail if the endpoint configuration is still referenced by any reserved domain or reserved address. See also https://ngrok.com/docs/api#api-endpoint-configurations-delete.- Parameters:
id- a resource identifier- Returns:
- a call builder for this API call
-
get
Returns detailed information about an endpoint configuration See also https://ngrok.com/docs/api#api-endpoint-configurations-get.- Parameters:
id- a resource identifier- Returns:
- a call builder for this API call
-
list
Returns a list of all endpoint configurations on this account See also https://ngrok.com/docs/api#api-endpoint-configurations-list.- Returns:
- a call builder for this API call
-
update
Updates an endpoint configuration. 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-endpoint-configurations-update.- Parameters:
id- unique identifier of this endpoint configuration- Returns:
- a call builder for this API call
-