public abstract class ApiMonitoringEvent extends Object implements MonitoringEvent
Constructor and Description |
---|
ApiMonitoringEvent() |
Modifier and Type | Method and Description |
---|---|
String |
getApi() |
String |
getClientId() |
String |
getRegion() |
String |
getService() |
Long |
getTimestamp() |
abstract String |
getType() |
String |
getUserAgent() |
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 |
withUserAgent(String userAgent)
Sets the userAgent
|
abstract ApiMonitoringEvent |
withVersion(Integer version)
Sets the version.
|
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 String getUserAgent()
public abstract ApiMonitoringEvent withUserAgent(String userAgent)
userAgent
- The new userAgent value.public abstract String getType()