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="2024-09-27T08:40:27.499-07:00")
public class CdpAuditEvent
extends Object
The model for an audit event.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Getter 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.int
hashCode()
void
setAccountId
(String accountId) Setter for accountId.void
setActorIdentity
(ActorIdentity actorIdentity) Setter for actorIdentity.void
setApiRequestEvent
(ApiRequestEvent apiRequestEvent) Setter for apiRequestEvent.void
setCdpServiceEvent
(CdpServiceEvent cdpServiceEvent) Setter for cdpServiceEvent.void
setEventName
(String eventName) Setter for eventName.void
setEventSource
(String eventSource) Setter for eventSource.void
Setter for id.void
setInteractiveLoginEvent
(InteractiveLoginEvent interactiveLoginEvent) Setter for interactiveLoginEvent.void
setRequestId
(String requestId) Setter for requestId.void
setResultCode
(String resultCode) Setter for resultCode.void
setResultMessage
(String resultMessage) Setter for resultMessage.void
setTimestamp
(Long timestamp) Setter for timestamp.void
setVersion
(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
-