@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AppMonitor extends Object implements Serializable, Cloneable, StructuredPojo
A RUM app monitor collects telemetry data from your application and sends that data to RUM. The data includes performance and reliability information such as page load time, client-side errors, and user behavior.
Constructor and Description |
---|
AppMonitor() |
Modifier and Type | Method and Description |
---|---|
AppMonitor |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
AppMonitor |
clearTagsEntries()
Removes all the entries added into Tags.
|
AppMonitor |
clone() |
boolean |
equals(Object obj) |
AppMonitorConfiguration |
getAppMonitorConfiguration()
A structure that contains much of the configuration data for the app monitor.
|
String |
getCreated()
The date and time that this app monitor was created.
|
CustomEvents |
getCustomEvents()
Specifies whether this app monitor allows the web client to define and send custom events.
|
DataStorage |
getDataStorage()
A structure that contains information about whether this app monitor stores a copy of the telemetry data that RUM
collects using CloudWatch Logs.
|
String |
getDomain()
The top-level internet domain name for which your application has administrative authority.
|
String |
getId()
The unique ID of this app monitor.
|
String |
getLastModified()
The date and time of the most recent changes to this app monitor's configuration.
|
String |
getName()
The name of the app monitor.
|
String |
getState()
The current state of the app monitor.
|
Map<String,String> |
getTags()
The list of tag keys and values associated with this app monitor.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAppMonitorConfiguration(AppMonitorConfiguration appMonitorConfiguration)
A structure that contains much of the configuration data for the app monitor.
|
void |
setCreated(String created)
The date and time that this app monitor was created.
|
void |
setCustomEvents(CustomEvents customEvents)
Specifies whether this app monitor allows the web client to define and send custom events.
|
void |
setDataStorage(DataStorage dataStorage)
A structure that contains information about whether this app monitor stores a copy of the telemetry data that RUM
collects using CloudWatch Logs.
|
void |
setDomain(String domain)
The top-level internet domain name for which your application has administrative authority.
|
void |
setId(String id)
The unique ID of this app monitor.
|
void |
setLastModified(String lastModified)
The date and time of the most recent changes to this app monitor's configuration.
|
void |
setName(String name)
The name of the app monitor.
|
void |
setState(String state)
The current state of the app monitor.
|
void |
setTags(Map<String,String> tags)
The list of tag keys and values associated with this app monitor.
|
String |
toString()
Returns a string representation of this object.
|
AppMonitor |
withAppMonitorConfiguration(AppMonitorConfiguration appMonitorConfiguration)
A structure that contains much of the configuration data for the app monitor.
|
AppMonitor |
withCreated(String created)
The date and time that this app monitor was created.
|
AppMonitor |
withCustomEvents(CustomEvents customEvents)
Specifies whether this app monitor allows the web client to define and send custom events.
|
AppMonitor |
withDataStorage(DataStorage dataStorage)
A structure that contains information about whether this app monitor stores a copy of the telemetry data that RUM
collects using CloudWatch Logs.
|
AppMonitor |
withDomain(String domain)
The top-level internet domain name for which your application has administrative authority.
|
AppMonitor |
withId(String id)
The unique ID of this app monitor.
|
AppMonitor |
withLastModified(String lastModified)
The date and time of the most recent changes to this app monitor's configuration.
|
AppMonitor |
withName(String name)
The name of the app monitor.
|
AppMonitor |
withState(StateEnum state)
The current state of the app monitor.
|
AppMonitor |
withState(String state)
The current state of the app monitor.
|
AppMonitor |
withTags(Map<String,String> tags)
The list of tag keys and values associated with this app monitor.
|
public void setAppMonitorConfiguration(AppMonitorConfiguration appMonitorConfiguration)
A structure that contains much of the configuration data for the app monitor.
appMonitorConfiguration
- A structure that contains much of the configuration data for the app monitor.public AppMonitorConfiguration getAppMonitorConfiguration()
A structure that contains much of the configuration data for the app monitor.
public AppMonitor withAppMonitorConfiguration(AppMonitorConfiguration appMonitorConfiguration)
A structure that contains much of the configuration data for the app monitor.
appMonitorConfiguration
- A structure that contains much of the configuration data for the app monitor.public void setCreated(String created)
The date and time that this app monitor was created.
created
- The date and time that this app monitor was created.public String getCreated()
The date and time that this app monitor was created.
public AppMonitor withCreated(String created)
The date and time that this app monitor was created.
created
- The date and time that this app monitor was created.public void setCustomEvents(CustomEvents customEvents)
Specifies whether this app monitor allows the web client to define and send custom events.
For more information about custom events, see Send custom events.
customEvents
- Specifies whether this app monitor allows the web client to define and send custom events.
For more information about custom events, see Send custom events.
public CustomEvents getCustomEvents()
Specifies whether this app monitor allows the web client to define and send custom events.
For more information about custom events, see Send custom events.
For more information about custom events, see Send custom events.
public AppMonitor withCustomEvents(CustomEvents customEvents)
Specifies whether this app monitor allows the web client to define and send custom events.
For more information about custom events, see Send custom events.
customEvents
- Specifies whether this app monitor allows the web client to define and send custom events.
For more information about custom events, see Send custom events.
public void setDataStorage(DataStorage dataStorage)
A structure that contains information about whether this app monitor stores a copy of the telemetry data that RUM collects using CloudWatch Logs.
dataStorage
- A structure that contains information about whether this app monitor stores a copy of the telemetry data
that RUM collects using CloudWatch Logs.public DataStorage getDataStorage()
A structure that contains information about whether this app monitor stores a copy of the telemetry data that RUM collects using CloudWatch Logs.
public AppMonitor withDataStorage(DataStorage dataStorage)
A structure that contains information about whether this app monitor stores a copy of the telemetry data that RUM collects using CloudWatch Logs.
dataStorage
- A structure that contains information about whether this app monitor stores a copy of the telemetry data
that RUM collects using CloudWatch Logs.public void setDomain(String domain)
The top-level internet domain name for which your application has administrative authority.
domain
- The top-level internet domain name for which your application has administrative authority.public String getDomain()
The top-level internet domain name for which your application has administrative authority.
public AppMonitor withDomain(String domain)
The top-level internet domain name for which your application has administrative authority.
domain
- The top-level internet domain name for which your application has administrative authority.public void setId(String id)
The unique ID of this app monitor.
id
- The unique ID of this app monitor.public String getId()
The unique ID of this app monitor.
public AppMonitor withId(String id)
The unique ID of this app monitor.
id
- The unique ID of this app monitor.public void setLastModified(String lastModified)
The date and time of the most recent changes to this app monitor's configuration.
lastModified
- The date and time of the most recent changes to this app monitor's configuration.public String getLastModified()
The date and time of the most recent changes to this app monitor's configuration.
public AppMonitor withLastModified(String lastModified)
The date and time of the most recent changes to this app monitor's configuration.
lastModified
- The date and time of the most recent changes to this app monitor's configuration.public void setName(String name)
The name of the app monitor.
name
- The name of the app monitor.public String getName()
The name of the app monitor.
public AppMonitor withName(String name)
The name of the app monitor.
name
- The name of the app monitor.public void setState(String state)
The current state of the app monitor.
state
- The current state of the app monitor.StateEnum
public String getState()
The current state of the app monitor.
StateEnum
public AppMonitor withState(String state)
The current state of the app monitor.
state
- The current state of the app monitor.StateEnum
public AppMonitor withState(StateEnum state)
The current state of the app monitor.
state
- The current state of the app monitor.StateEnum
public Map<String,String> getTags()
The list of tag keys and values associated with this app monitor.
public void setTags(Map<String,String> tags)
The list of tag keys and values associated with this app monitor.
tags
- The list of tag keys and values associated with this app monitor.public AppMonitor withTags(Map<String,String> tags)
The list of tag keys and values associated with this app monitor.
tags
- The list of tag keys and values associated with this app monitor.public AppMonitor addTagsEntry(String key, String value)
public AppMonitor clearTagsEntries()
public String toString()
toString
in class Object
Object.toString()
public AppMonitor clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.