Package com.cloudera.cdp.audit.model
Class ApiRequestEvent
- java.lang.Object
-
- com.cloudera.cdp.audit.model.ApiRequestEvent
-
@Generated(value="com.cloudera.cdp.client.codegen.CdpSDKJavaCodegen", date="2024-03-13T13:08:47.952-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 Summary
Constructors Constructor Description ApiRequestEvent()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
String
getApiVersion()
Getter for apiVersion.Boolean
getMutating()
Getter for mutating.String
getRequestParameters()
Getter for requestParameters.String
getResponseParameters()
Getter for responseParameters.String
getSourceIPAddress()
Getter for sourceIPAddress.String
getUserAgent()
Getter for userAgent.int
hashCode()
void
setApiVersion(String apiVersion)
Setter for apiVersion.void
setMutating(Boolean mutating)
Setter for mutating.void
setRequestParameters(String requestParameters)
Setter for requestParameters.void
setResponseParameters(String responseParameters)
Setter for responseParameters.void
setSourceIPAddress(String sourceIPAddress)
Setter for sourceIPAddress.void
setUserAgent(String userAgent)
Setter for userAgent.String
toString()
-
-
-
Method Detail
-
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.
-
-