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, getVersion public static final String API_CALL_ATTEMPT_MONITORING_EVENT_TYPE
public ApiCallAttemptMonitoringEvent()
public ApiCallAttemptMonitoringEvent withApi(String api)
ApiMonitoringEvent withApi in class ApiMonitoringEvent api - The new api value.public ApiCallAttemptMonitoringEvent withVersion(Integer version)
ApiMonitoringEvent withVersion in class ApiMonitoringEvent version - the new version value.public ApiCallAttemptMonitoringEvent withUserAgent(String userAgent)
ApiMonitoringEvent withUserAgent in class ApiMonitoringEvent userAgent - The new userAgent value.public ApiCallAttemptMonitoringEvent withService(String service)
ApiMonitoringEvent withService in class ApiMonitoringEvent service - The new service value.public ApiCallAttemptMonitoringEvent withClientId(String clientId)
ApiMonitoringEvent withClientId in class ApiMonitoringEvent clientId - The new clientId value.public ApiCallAttemptMonitoringEvent withTimestamp(Long timestamp)
This is when the request attempt is passed to the http client.
withTimestamp in class ApiMonitoringEvent timestamp - 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 ApiMonitoringEvent region - 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