Package com.cloudera.cdp.audit.model
Class CdpAuditEvent
java.lang.Object
com.cloudera.cdp.audit.model.CdpAuditEvent
@Generated(value="com.cloudera.cdp.client.codegen.CdpSDKJavaCodegen",
date="2025-10-28T14:00:29.691-07:00")
public class CdpAuditEvent
extends Object
The model for an audit event.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanGetter for accountId.Getter for actorIdentity.Getter for apiRequestEvent.Getter for cdpServiceEvent.Getter for eventName.Getter for eventSource.getId()Getter for id.Getter for interactiveLoginEvent.Getter for requestId.Getter for resultCode.Getter for resultMessage.Getter for timestamp.Getter for version.inthashCode()voidsetAccountId(String accountId) Setter for accountId.voidsetActorIdentity(ActorIdentity actorIdentity) Setter for actorIdentity.voidsetApiRequestEvent(ApiRequestEvent apiRequestEvent) Setter for apiRequestEvent.voidsetCdpServiceEvent(CdpServiceEvent cdpServiceEvent) Setter for cdpServiceEvent.voidsetEventName(String eventName) Setter for eventName.voidsetEventSource(String eventSource) Setter for eventSource.voidSetter for id.voidsetInteractiveLoginEvent(InteractiveLoginEvent interactiveLoginEvent) Setter for interactiveLoginEvent.voidsetRequestId(String requestId) Setter for requestId.voidsetResultCode(String resultCode) Setter for resultCode.voidsetResultMessage(String resultMessage) Setter for resultMessage.voidsetTimestamp(Long timestamp) Setter for timestamp.voidsetVersion(String version) Setter for version.toString()
-
Constructor Details
-
CdpAuditEvent
public CdpAuditEvent()
-
-
Method Details
-
getVersion
Getter for version. The version of the event structure. -
setVersion
Setter for version. The version of the event structure. -
getId
Getter for id. UUID for this event. -
setId
Setter for id. UUID for this event. -
getEventSource
Getter for eventSource. The source service of the event. It must be the name of a service as enumerated in the CRN definition. -
setEventSource
Setter for eventSource. The source service of the event. It must be the name of a service as enumerated in the CRN definition. -
getEventName
Getter for eventName. The name of the event. Each source defines all its event names, and a name must be unique for its source. -
setEventName
Setter for eventName. The name of the event. Each source defines all its event names, and a name must be unique for its source. -
getTimestamp
Getter for timestamp. The Unix timestamp, in milliseconds (UTC), when the event occurred. -
setTimestamp
Setter for timestamp. The Unix timestamp, in milliseconds (UTC), when the event occurred. -
getActorIdentity
Getter for actorIdentity. The actor who initiated this event. -
setActorIdentity
Setter for actorIdentity. The actor who initiated this event. -
getAccountId
Getter for accountId. Account id in which this event occurred. -
setAccountId
Setter for accountId. Account id in which this event occurred. -
getRequestId
Getter for requestId. Id of the request that initiated this event. Optional. -
setRequestId
Setter for requestId. Id of the request that initiated this event. Optional. -
getResultCode
Getter for resultCode. Optional result code. -
setResultCode
Setter for resultCode. Optional result code. -
getResultMessage
Getter for resultMessage. Optional result message, a short message (about one sentence) describing the result. -
setResultMessage
Setter for resultMessage. Optional result message, a short message (about one sentence) describing the result. -
getApiRequestEvent
Getter for apiRequestEvent. Information originating from an API request. -
setApiRequestEvent
Setter for apiRequestEvent. Information originating from an API request. -
getCdpServiceEvent
Getter for cdpServiceEvent. Information originating from an event generated by a CDP service. -
setCdpServiceEvent
Setter for cdpServiceEvent. Information originating from an event generated by a CDP service. -
getInteractiveLoginEvent
Getter for interactiveLoginEvent. Information originating from a login event. -
setInteractiveLoginEvent
Setter for interactiveLoginEvent. Information originating from a login event. -
equals
-
hashCode
public int hashCode() -
toString
-