Package com.auth0.client.mgmt
Class LogStreamsEntity
java.lang.Object
com.auth0.client.mgmt.LogStreamsEntity
Class that provides an implementation of the Log Streams methods of the Management API as defined in https://auth0.com/docs/api/management/v2#!/Log_Streams
This class is not thread-safe.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final okhttp3.HttpUrl
protected final Auth0HttpClient
protected final TokenProvider
-
Method Summary
Modifier and TypeMethodDescriptionCreates a request to create a Log Stream.Creates a request to delete a Log Stream.Creates a request to get a single Log Stream by its ID.list()
Creates a request to get all Log Streams.protected <T> Request<T>
request
(HttpMethod method, com.fasterxml.jackson.core.type.TypeReference<T> target, Consumer<com.auth0.client.mgmt.RequestBuilder<T>> customizer) Creates a request to update a Log Stream.voidRequest
(HttpMethod method, Consumer<com.auth0.client.mgmt.RequestBuilder<Void>> customizer)
-
Field Details
-
client
-
baseUrl
protected final okhttp3.HttpUrl baseUrl -
tokenProvider
-
-
Method Details
-
list
Creates a request to get all Log Streams. See the API Documentation for more information.- Returns:
- the request to execute.
-
get
Creates a request to get a single Log Stream by its ID. See the API Documentation for more information.- Parameters:
logStreamId
- The ID of the Log Stream to retrieve.- Returns:
- the request to execute.
-
create
Creates a request to create a Log Stream. See the API Documentation for more information.- Parameters:
logStream
- The LogStream to create.- Returns:
- the request to execute.
-
update
Creates a request to update a Log Stream. See the API Documentation for more information.- Parameters:
logStreamId
- The ID of the Log Stream to update.logStream
- The LogStream to update.- Returns:
- the request to execute.
-
delete
Creates a request to delete a Log Stream. See the API Documentation for more information.- Parameters:
logStreamId
- The ID of the Log Stream to delete.- Returns:
- the request to execute.
-
voidRequest
protected Request<Void> voidRequest(HttpMethod method, Consumer<com.auth0.client.mgmt.RequestBuilder<Void>> customizer) -
request
protected <T> Request<T> request(HttpMethod method, com.fasterxml.jackson.core.type.TypeReference<T> target, Consumer<com.auth0.client.mgmt.RequestBuilder<T>> customizer)
-