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 Details

    • CdpAuditEvent

      public CdpAuditEvent()
  • Method Details

    • getVersion

      public String getVersion()
      Getter for version. The version of the event structure.
    • setVersion

      public void setVersion(String version)
      Setter for version. The version of the event structure.
    • getId

      public String getId()
      Getter for id. UUID for this event.
    • setId

      public void setId(String id)
      Setter for id. UUID for this event.
    • getEventSource

      public String 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

      public void setEventSource(String eventSource)
      Setter for eventSource. The source service of the event. It must be the name of a service as enumerated in the CRN definition.
    • getEventName

      public String 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

      public void setEventName(String eventName)
      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

      public Long getTimestamp()
      Getter for timestamp. The Unix timestamp, in milliseconds (UTC), when the event occurred.
    • setTimestamp

      public void setTimestamp(Long timestamp)
      Setter for timestamp. The Unix timestamp, in milliseconds (UTC), when the event occurred.
    • getActorIdentity

      public ActorIdentity getActorIdentity()
      Getter for actorIdentity. The actor who initiated this event.
    • setActorIdentity

      public void setActorIdentity(ActorIdentity actorIdentity)
      Setter for actorIdentity. The actor who initiated this event.
    • getAccountId

      public String getAccountId()
      Getter for accountId. Account id in which this event occurred.
    • setAccountId

      public void setAccountId(String accountId)
      Setter for accountId. Account id in which this event occurred.
    • getRequestId

      public String getRequestId()
      Getter for requestId. Id of the request that initiated this event. Optional.
    • setRequestId

      public void setRequestId(String requestId)
      Setter for requestId. Id of the request that initiated this event. Optional.
    • getResultCode

      public String getResultCode()
      Getter for resultCode. Optional result code.
    • setResultCode

      public void setResultCode(String resultCode)
      Setter for resultCode. Optional result code.
    • getResultMessage

      public String getResultMessage()
      Getter for resultMessage. Optional result message, a short message (about one sentence) describing the result.
    • setResultMessage

      public void setResultMessage(String resultMessage)
      Setter for resultMessage. Optional result message, a short message (about one sentence) describing the result.
    • getApiRequestEvent

      public ApiRequestEvent getApiRequestEvent()
      Getter for apiRequestEvent. Information originating from an API request.
    • setApiRequestEvent

      public void setApiRequestEvent(ApiRequestEvent apiRequestEvent)
      Setter for apiRequestEvent. Information originating from an API request.
    • getCdpServiceEvent

      public CdpServiceEvent getCdpServiceEvent()
      Getter for cdpServiceEvent. Information originating from an event generated by a CDP service.
    • setCdpServiceEvent

      public void setCdpServiceEvent(CdpServiceEvent cdpServiceEvent)
      Setter for cdpServiceEvent. Information originating from an event generated by a CDP service.
    • getInteractiveLoginEvent

      public InteractiveLoginEvent getInteractiveLoginEvent()
      Getter for interactiveLoginEvent. Information originating from a login event.
    • setInteractiveLoginEvent

      public void setInteractiveLoginEvent(InteractiveLoginEvent interactiveLoginEvent)
      Setter for interactiveLoginEvent. Information originating from a login event.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object