Class ApiRequestEvent

java.lang.Object
com.cloudera.cdp.audit.model.ApiRequestEvent

@Generated(value="com.cloudera.cdp.client.codegen.CdpSDKJavaCodegen", date="2024-09-27T08:40:27.499-07:00") public class ApiRequestEvent extends Object
The model for an API request event, as a part of CdpAuditEvent. These events are triggered by requests to public CDP API services.
  • Constructor Details

    • ApiRequestEvent

      public ApiRequestEvent()
  • Method Details

    • getRequestParameters

      public String getRequestParameters()
      Getter for requestParameters. The API request parameters.
    • setRequestParameters

      public void setRequestParameters(String requestParameters)
      Setter for requestParameters. The API request parameters.
    • getResponseParameters

      public String getResponseParameters()
      Getter for responseParameters. The API response parameters. Only recorded for mutating calls.
    • setResponseParameters

      public void setResponseParameters(String responseParameters)
      Setter for responseParameters. The API response parameters. Only recorded for mutating calls.
    • getMutating

      public Boolean getMutating()
      Getter for mutating. Whether the request mutates the state of resources.
    • setMutating

      public void setMutating(Boolean mutating)
      Setter for mutating. Whether the request mutates the state of resources.
    • getApiVersion

      public String getApiVersion()
      Getter for apiVersion. The API version associated with the request.
    • setApiVersion

      public void setApiVersion(String apiVersion)
      Setter for apiVersion. The API version associated with the request.
    • getSourceIPAddress

      public String getSourceIPAddress()
      Getter for sourceIPAddress. The source IP address of the requester.
    • setSourceIPAddress

      public void setSourceIPAddress(String sourceIPAddress)
      Setter for sourceIPAddress. The source IP address of the requester.
    • getUserAgent

      public String getUserAgent()
      Getter for userAgent. The user agent that made the API request.
    • setUserAgent

      public void setUserAgent(String userAgent)
      Setter for userAgent. The user agent that made the API request.
    • 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