@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-07-14T23:40:43.026Z[Etc/UTC]") public class LogStreamApi extends Object
Constructor and Description |
---|
LogStreamApi() |
LogStreamApi(ApiClient apiClient) |
Modifier and Type | Method and Description |
---|---|
LogStream |
activateLogStream(String logStreamId)
Activate a Log Stream
Activates a log stream by `logStreamId`
|
LogStream |
activateLogStream(String logStreamId,
Map<String,String> additionalHeaders)
Activate a Log Stream
Activates a log stream by `logStreamId`
|
LogStream |
createLogStream(LogStream instance)
Create a Log Stream
Creates a new Log Stream object
|
LogStream |
createLogStream(LogStream instance,
Map<String,String> additionalHeaders)
Create a Log Stream
Creates a new Log Stream object
|
LogStream |
deactivateLogStream(String logStreamId)
Deactivate a Log Stream
Deactivates a log stream by `logStreamId`
|
LogStream |
deactivateLogStream(String logStreamId,
Map<String,String> additionalHeaders)
Deactivate a Log Stream
Deactivates a log stream by `logStreamId`
|
void |
deleteLogStream(String logStreamId)
Delete a Log Stream
Deletes a Log Stream object from your org by ID
|
void |
deleteLogStream(String logStreamId,
Map<String,String> additionalHeaders)
Delete a Log Stream
Deletes a Log Stream object from your org by ID
|
ApiClient |
getApiClient() |
LogStream |
getLogStream(String logStreamId)
Retrieve a Log Stream
Retrieves a Log Stream object by ID
|
LogStream |
getLogStream(String logStreamId,
Map<String,String> additionalHeaders)
Retrieve a Log Stream
Retrieves a Log Stream object by ID
|
protected static com.fasterxml.jackson.databind.ObjectMapper |
getObjectMapper() |
List<LogStream> |
listLogStreams(String after,
Integer limit,
String filter)
List all Log Streams
Lists all Log Stream objects in your org.
|
List<LogStream> |
listLogStreams(String after,
Integer limit,
String filter,
Map<String,String> additionalHeaders)
List all Log Streams
Lists all Log Stream objects in your org.
|
LogStream |
replaceLogStream(String logStreamId,
LogStreamPutSchema instance)
Replace a Log Stream
Replaces the Log Stream object properties for a given ID.
|
LogStream |
replaceLogStream(String logStreamId,
LogStreamPutSchema instance,
Map<String,String> additionalHeaders)
Replace a Log Stream
Replaces the Log Stream object properties for a given ID.
|
void |
setApiClient(ApiClient apiClient) |
public LogStreamApi()
public LogStreamApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public LogStream activateLogStream(String logStreamId) throws ApiException
logStreamId
- Unique identifier for the Log Stream (required)ApiException
- if fails to make API callpublic LogStream activateLogStream(String logStreamId, Map<String,String> additionalHeaders) throws ApiException
logStreamId
- Unique identifier for the Log Stream (required)additionalHeaders
- additionalHeaders for this callApiException
- if fails to make API callpublic LogStream createLogStream(LogStream instance) throws ApiException
instance
- (required)ApiException
- if fails to make API callpublic LogStream createLogStream(LogStream instance, Map<String,String> additionalHeaders) throws ApiException
instance
- (required)additionalHeaders
- additionalHeaders for this callApiException
- if fails to make API callpublic LogStream deactivateLogStream(String logStreamId) throws ApiException
logStreamId
- Unique identifier for the Log Stream (required)ApiException
- if fails to make API callpublic LogStream deactivateLogStream(String logStreamId, Map<String,String> additionalHeaders) throws ApiException
logStreamId
- Unique identifier for the Log Stream (required)additionalHeaders
- additionalHeaders for this callApiException
- if fails to make API callpublic void deleteLogStream(String logStreamId) throws ApiException
logStreamId
- Unique identifier for the Log Stream (required)ApiException
- if fails to make API callpublic void deleteLogStream(String logStreamId, Map<String,String> additionalHeaders) throws ApiException
logStreamId
- Unique identifier for the Log Stream (required)additionalHeaders
- additionalHeaders for this callApiException
- if fails to make API callpublic LogStream getLogStream(String logStreamId) throws ApiException
logStreamId
- Unique identifier for the Log Stream (required)ApiException
- if fails to make API callpublic LogStream getLogStream(String logStreamId, Map<String,String> additionalHeaders) throws ApiException
logStreamId
- Unique identifier for the Log Stream (required)additionalHeaders
- additionalHeaders for this callApiException
- if fails to make API callpublic List<LogStream> listLogStreams(String after, Integer limit, String filter) throws ApiException
after
- The cursor to use for pagination. It is an opaque string that specifies your current location in the list and is obtained from the `Link` response header. See [Pagination](/#pagination) for more information. (optional)limit
- A limit on the number of objects to return (optional, default to 20)filter
- An expression that [filters](/#filter) the returned objects. You can only use the `eq` operator on either the `status` or `type` properties in the filter expression. (optional)ApiException
- if fails to make API callpublic List<LogStream> listLogStreams(String after, Integer limit, String filter, Map<String,String> additionalHeaders) throws ApiException
after
- The cursor to use for pagination. It is an opaque string that specifies your current location in the list and is obtained from the `Link` response header. See [Pagination](/#pagination) for more information. (optional)limit
- A limit on the number of objects to return (optional, default to 20)filter
- An expression that [filters](/#filter) the returned objects. You can only use the `eq` operator on either the `status` or `type` properties in the filter expression. (optional)additionalHeaders
- additionalHeaders for this callApiException
- if fails to make API callpublic LogStream replaceLogStream(String logStreamId, LogStreamPutSchema instance) throws ApiException
logStreamId
- Unique identifier for the Log Stream (required)instance
- (required)ApiException
- if fails to make API callpublic LogStream replaceLogStream(String logStreamId, LogStreamPutSchema instance, Map<String,String> additionalHeaders) throws ApiException
logStreamId
- Unique identifier for the Log Stream (required)instance
- (required)additionalHeaders
- additionalHeaders for this callApiException
- if fails to make API callprotected static com.fasterxml.jackson.databind.ObjectMapper getObjectMapper()
Copyright © 2017–2023 Okta. All rights reserved.