public class ApiCallAttemptMonitoringEvent extends ApiMonitoringEvent
| Modifier and Type | Field and Description |
|---|---|
static String |
API_CALL_ATTEMPT_MONITORING_EVENT_TYPE |
| Constructor and Description |
|---|
ApiCallAttemptMonitoringEvent() |
getApi, getClientId, getRegion, getService, getTimestamp, getUserAgent, getVersionpublic static final String API_CALL_ATTEMPT_MONITORING_EVENT_TYPE
public ApiCallAttemptMonitoringEvent withApi(String api)
ApiMonitoringEventwithApi in class ApiMonitoringEventapi - The new api value.public ApiCallAttemptMonitoringEvent withVersion(Integer version)
ApiMonitoringEventwithVersion in class ApiMonitoringEventversion - the new version value.public ApiCallAttemptMonitoringEvent withUserAgent(String userAgent)
ApiMonitoringEventwithUserAgent in class ApiMonitoringEventuserAgent - The new userAgent value.public ApiCallAttemptMonitoringEvent withService(String service)
ApiMonitoringEventwithService in class ApiMonitoringEventservice - The new service value.public ApiCallAttemptMonitoringEvent withClientId(String clientId)
ApiMonitoringEventwithClientId in class ApiMonitoringEventclientId - The new clientId value.public ApiCallAttemptMonitoringEvent withTimestamp(Long timestamp)
This is when the request attempt is passed to the http client.
withTimestamp in class ApiMonitoringEventtimestamp - The new timestamp value.public String getFqdn()
public ApiCallAttemptMonitoringEvent withFqdn(String fqdn)
fqdn - The new fqdn value.public ApiCallAttemptMonitoringEvent withRegion(String region)
withRegion in class ApiMonitoringEventregion - The new region value.public String getAccessKey()
public ApiCallAttemptMonitoringEvent withAccessKey(String accessKey)
accessKey - The new accessKey value.public String getSessionToken()
public ApiCallAttemptMonitoringEvent withSessionToken(String sessionToken)
sessionToken - The new sessionToken value.public Integer getHttpStatusCode()
public ApiCallAttemptMonitoringEvent withHttpStatusCode(Integer httpStatusCode)
httpStatusCode - The new httpStatusCode value.public String getxAmznRequestId()
public ApiCallAttemptMonitoringEvent withXAmznRequestId(String xAmznRequestId)
xAmznRequestId - The new value.public String getxAmzRequestId()
public ApiCallAttemptMonitoringEvent withXAmzRequestId(String xAmzRequestId)
xAmzRequestId - The new value.public String getxAmzId2()
public ApiCallAttemptMonitoringEvent withXAmzId2(String xAmzId2)
xAmzId2 - the new value.public String getAwsException()
public ApiCallAttemptMonitoringEvent withAwsException(String awsException)
awsException - The new awsException value.public String getAwsExceptionMessage()
public ApiCallAttemptMonitoringEvent withAwsExceptionMessage(String awsExceptionMessage)
awsExceptionMessage - The new awsExceptionMessage value.public String getSdkException()
public ApiCallAttemptMonitoringEvent withSdkException(String sdkException)
sdkException - The new sdkException value.public String getSdkExceptionMessage()
public ApiCallAttemptMonitoringEvent withSdkExceptionMessage(String sdkExceptionMessage)
sdkExceptionMessage - The new sdkExceptionMessage value.public Long getAttemptLatency()
public ApiCallAttemptMonitoringEvent withAttemptLatency(Long attemptLatency)
attemptLatency - The new latency value.public Long getRequestLatency()
public ApiCallAttemptMonitoringEvent withRequestLatency(Long requestLatency)
requestLatency - The new requestLatency value.public String getType()
getType in class ApiMonitoringEvent