public abstract class ApiMonitoringEvent extends Object implements MonitoringEvent
Modifier and Type | Field and Description |
---|---|
protected String |
api |
protected String |
clientId |
protected String |
region |
protected String |
service |
protected Long |
timestamp |
protected Integer |
version |
Constructor and Description |
---|
ApiMonitoringEvent() |
Modifier and Type | Method and Description |
---|---|
String |
getApi() |
String |
getClientId() |
String |
getRegion() |
String |
getService() |
Long |
getTimestamp() |
abstract String |
getType() |
Integer |
getVersion() |
abstract ApiMonitoringEvent |
withApi(String api)
Sets the api
|
abstract ApiMonitoringEvent |
withClientId(String clientId)
Sets the clientId
|
abstract ApiMonitoringEvent |
withRegion(String region)
Sets the region
|
abstract ApiMonitoringEvent |
withService(String service)
Sets the service against which the call is being made.
|
abstract ApiMonitoringEvent |
withTimestamp(Long timestamp)
Sets the timestamp, in milliseconds, since January 1st, 1970, for the time point at which the event.
|
abstract ApiMonitoringEvent |
withVersion(Integer version)
Sets the version.
|
protected String api
protected String service
protected String clientId
protected Long timestamp
protected Integer version
protected String region
public String getApi()
public String getService()
public abstract ApiMonitoringEvent withService(String service)
service
- The new service value.public String getClientId()
public abstract ApiMonitoringEvent withClientId(String clientId)
clientId
- The new clientId value.public Long getTimestamp()
public abstract ApiMonitoringEvent withTimestamp(Long timestamp)
timestamp
- The new timestamp value.public abstract ApiMonitoringEvent withApi(String api)
api
- The new api value.public Integer getVersion()
public abstract ApiMonitoringEvent withVersion(Integer version)
version
- the new version value.public String getRegion()
public abstract ApiMonitoringEvent withRegion(String region)
region
- The new region value.public abstract String getType()
Copyright © 2018. All rights reserved.