Package com.ngrok.services
Class EventDestinations
java.lang.Object
com.ngrok.services.EventDestinations
An API client for
EventDestinations
.
See also https://ngrok.com/docs/api#api-event-destinations.-
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
ConstructorDescriptionEventDestinations
(NgrokApiClient apiClient) Creates a new sub-client for EventDestinations. -
Method Summary
-
Constructor Details
-
EventDestinations
Creates a new sub-client for EventDestinations.- Parameters:
apiClient
- an instance ofNgrokApiClient
-
-
Method Details
-
create
Create a new Event Destination. It will not apply to anything until it is associated with an Event Stream, and that Event Stream is associated with an Endpoint Config. See also https://ngrok.com/docs/api#api-event-destinations-create.- Returns:
- a call builder for this API call
-
delete
Delete an Event Destination. If the Event Destination is still referenced by an Event Subscription. See also https://ngrok.com/docs/api#api-event-destinations-delete.- Parameters:
id
- a resource identifier- Returns:
- a call builder for this API call
-
get
Get detailed information about an Event Destination by ID. See also https://ngrok.com/docs/api#api-event-destinations-get.- Parameters:
id
- a resource identifier- Returns:
- a call builder for this API call
-
list
List all Event Destinations on this account. See also https://ngrok.com/docs/api#api-event-destinations-list.- Returns:
- a call builder for this API call
-
update
Update attributes of an Event Destination. See also https://ngrok.com/docs/api#api-event-destinations-update.- Parameters:
id
- Unique identifier for this Event Destination.- Returns:
- a call builder for this API call
-