Package com.cloudera.cdp.audit.api
Class AuditClient
java.lang.Object
com.cloudera.cdp.client.CdpClient
com.cloudera.cdp.audit.api.AuditClient
@Generated(value="com.cloudera.cdp.client.codegen.CdpSDKJavaCodegen",
date="2025-10-15T17:00:47.478-07:00")
public class AuditClient
extends CdpClient
-
Field Summary
FieldsFields inherited from class com.cloudera.cdp.client.CdpClient
NO_EXTENSION -
Constructor Summary
ConstructorsConstructorDescriptionAuditClient(CdpCredentials credentials, String endPoint, CdpClientConfiguration clientConfiguration) AuditClient(CdpRequestContext<?> context) -
Method Summary
Modifier and TypeMethodDescriptionArchive audit events.Create batches of audit events to be archived.Configures the audit system for archiving audit events to external cloud storage.Retrieve the current archiving configuration.Retrieve the status for an archive process.Get the status of creating batches of audit events to be archived.protected StringGets the request Content-Type, used by 'Conent-Type' request header.protected StringGets the expected response Content-Type, used by 'Accept' request header.protected StringGets the service name.listEvents(ListEventsRequest input) List all audit events recorded in a specified time span, and optionally with a specified request ID and/or event source.List events contained in a single archive batch.List outstanding (unarchived) archive batches.List recent archive runs.Mark archive batches as successful.Methods inherited from class com.cloudera.cdp.client.CdpClient
invokeAPI, invokeAPI, invokeAPI, invokeAPI, parameterToPair, parameterToPairs, parameterToString, shutdown
-
Field Details
-
SERVICE_NAME
- See Also:
-
-
Constructor Details
-
AuditClient
public AuditClient(CdpCredentials credentials, String endPoint, CdpClientConfiguration clientConfiguration) -
AuditClient
-
-
Method Details
-
getServiceName
Description copied from class:CdpClientGets the service name.- Specified by:
getServiceNamein classCdpClient- Returns:
- the service name
-
getRequestContentType
Description copied from class:CdpClientGets the request Content-Type, used by 'Conent-Type' request header.- Overrides:
getRequestContentTypein classCdpClient- Returns:
- the request Content-Type
-
getResponseContentType
Description copied from class:CdpClientGets the expected response Content-Type, used by 'Accept' request header.- Overrides:
getResponseContentTypein classCdpClient- Returns:
- the response Content-Type
-
archiveAuditEvents
Archive audit events.- Parameters:
input-- Returns:
- ArchiveAuditEventsResponse
-
batchEventsForArchiving
public BatchEventsForArchivingResponse batchEventsForArchiving(BatchEventsForArchivingRequest input) Create batches of audit events to be archived.- Parameters:
input-- Returns:
- BatchEventsForArchivingResponse
-
configureArchiving
Configures the audit system for archiving audit events to external cloud storage.- Parameters:
input-- Returns:
- ConfigureArchivingResponse
-
getArchivingConfig
Retrieve the current archiving configuration.- Parameters:
input-- Returns:
- GetArchivingConfigResponse
-
getArchivingStatus
Retrieve the status for an archive process.- Parameters:
input-- Returns:
- GetArchivingStatusResponse
-
getBatchEventsForArchivingStatus
public GetBatchEventsForArchivingStatusResponse getBatchEventsForArchivingStatus(GetBatchEventsForArchivingStatusRequest input) Get the status of creating batches of audit events to be archived.- Parameters:
input-- Returns:
- GetBatchEventsForArchivingStatusResponse
-
listEvents
List all audit events recorded in a specified time span, and optionally with a specified request ID and/or event source.- Parameters:
input-- Returns:
- ListEventsResponse
-
listEventsInArchiveBatch
public ListEventsInArchiveBatchResponse listEventsInArchiveBatch(ListEventsInArchiveBatchRequest input) List events contained in a single archive batch.- Parameters:
input-- Returns:
- ListEventsInArchiveBatchResponse
-
listOutstandingArchiveBatches
public ListOutstandingArchiveBatchesResponse listOutstandingArchiveBatches(ListOutstandingArchiveBatchesRequest input) List outstanding (unarchived) archive batches.- Parameters:
input-- Returns:
- ListOutstandingArchiveBatchesResponse
-
listRecentArchiveRuns
List recent archive runs.- Parameters:
input-- Returns:
- ListRecentArchiveRunsResponse
-
markArchiveBatchesAsSuccessful
public MarkArchiveBatchesAsSuccessfulResponse markArchiveBatchesAsSuccessful(MarkArchiveBatchesAsSuccessfulRequest input) Mark archive batches as successful.- Parameters:
input-- Returns:
- MarkArchiveBatchesAsSuccessfulResponse
-