Package com.ngrok.services
Class ReservedAddrs
java.lang.Object
com.ngrok.services.ReservedAddrs
Reserved Addresses are TCP addresses that can be used to listen for traffic.
TCP address hostnames and ports are assigned by ngrok, they cannot be
chosen.
See also https://ngrok.com/docs/api#api-reserved-addrs.
-
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
ConstructorDescriptionReservedAddrs
(NgrokApiClient apiClient) Creates a new sub-client for ReservedAddrs. -
Method Summary
-
Constructor Details
-
ReservedAddrs
Creates a new sub-client for ReservedAddrs.- Parameters:
apiClient
- an instance ofNgrokApiClient
-
-
Method Details
-
create
Create a new reserved address. See also https://ngrok.com/docs/api#api-reserved-addrs-create.- Returns:
- a call builder for this API call
-
delete
Delete a reserved address. See also https://ngrok.com/docs/api#api-reserved-addrs-delete.- Parameters:
id
- a resource identifier- Returns:
- a call builder for this API call
-
get
Get the details of a reserved address. See also https://ngrok.com/docs/api#api-reserved-addrs-get.- Parameters:
id
- a resource identifier- Returns:
- a call builder for this API call
-
list
List all reserved addresses on this account. See also https://ngrok.com/docs/api#api-reserved-addrs-list.- Returns:
- a call builder for this API call
-
update
Update the attributes of a reserved address. See also https://ngrok.com/docs/api#api-reserved-addrs-update.- Parameters:
id
- the value of theid
parameter as aString
- Returns:
- a call builder for this API call
-