public class ApiCallMonitoringEvent extends ApiMonitoringEvent
| Modifier and Type | Field and Description | 
|---|---|
| static String | API_CALL_MONITORING_EVENT_TYPE | 
| Constructor and Description | 
|---|
| ApiCallMonitoringEvent() | 
| Modifier and Type | Method and Description | 
|---|---|
| int | getApiCallTimeout() | 
| Integer | getAttemptCount() | 
| Long | getLatency() | 
| int | getMaxRetriesExceeded() | 
| String | getType() | 
| ApiCallMonitoringEvent | withApi(String api)Sets the api | 
| ApiCallMonitoringEvent | withApiCallTimeout(int apiCallTimeout)Sets the api call timeout | 
| ApiCallMonitoringEvent | withAttemptCount(Integer attemptCount)Sets the attemptCount | 
| ApiCallMonitoringEvent | withClientId(String clientId)Sets the clientId | 
| ApiCallMonitoringEvent | withLatency(Long latency)Sets the latency | 
| ApiCallMonitoringEvent | withMaxRetriesExceeded(int maxRetriesExceeded)Sets the api call timeout | 
| ApiCallMonitoringEvent | withRegion(String region)Sets the region | 
| ApiCallMonitoringEvent | withService(String service)Sets the service against which the call is being made. | 
| ApiCallMonitoringEvent | withTimestamp(Long timestamp)Sets the timestamp, in milliseconds, since January 1st, 1970, for the time point at which the event. | 
| ApiCallMonitoringEvent | withVersion(Integer version)Sets the version. | 
getApi, getClientId, getRegion, getService, getTimestamp, getVersionpublic static final String API_CALL_MONITORING_EVENT_TYPE
public ApiCallMonitoringEvent withApi(String api)
ApiMonitoringEventwithApi in class ApiMonitoringEventapi - The new api value.public ApiCallMonitoringEvent withVersion(Integer version)
ApiMonitoringEventwithVersion in class ApiMonitoringEventversion - the new version value.public ApiCallMonitoringEvent withRegion(String region)
ApiMonitoringEventwithRegion in class ApiMonitoringEventregion - The new region value.public ApiCallMonitoringEvent withService(String service)
ApiMonitoringEventwithService in class ApiMonitoringEventservice - The new service value.public ApiCallMonitoringEvent withClientId(String clientId)
ApiMonitoringEventwithClientId in class ApiMonitoringEventclientId - The new clientId value.public ApiCallMonitoringEvent withTimestamp(Long timestamp)
This is when the request is first seen by the service client.
withTimestamp in class ApiMonitoringEventtimestamp - The new timestamp value.public Integer getAttemptCount()
public ApiCallMonitoringEvent withAttemptCount(Integer attemptCount)
attemptCount - The new attemptCount value.public Long getLatency()
public ApiCallMonitoringEvent withLatency(Long latency)
latency - The new latency value.public int getApiCallTimeout()
public ApiCallMonitoringEvent withApiCallTimeout(int apiCallTimeout)
apiCallTimeout - The new apiCallTimeout value.public int getMaxRetriesExceeded()
public ApiCallMonitoringEvent withMaxRetriesExceeded(int maxRetriesExceeded)
maxRetriesExceeded - The new maxRetriesExceeded value.public String getType()
getType in class ApiMonitoringEventCopyright © 2018. All rights reserved.