@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateAppMonitorRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateAppMonitorRequest() |
Modifier and Type | Method and Description |
---|---|
CreateAppMonitorRequest |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
CreateAppMonitorRequest |
clearTagsEntries()
Removes all the entries added into Tags.
|
CreateAppMonitorRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
AppMonitorConfiguration |
getAppMonitorConfiguration()
A structure that contains much of the configuration data for the app monitor.
|
CustomEvents |
getCustomEvents()
Specifies whether this app monitor allows the web client to define and send custom events.
|
Boolean |
getCwLogEnabled()
Data collected by RUM is kept by RUM for 30 days and then deleted.
|
String |
getDomain()
The top-level internet domain name for which your application has administrative authority.
|
String |
getName()
A name for the app monitor.
|
Map<String,String> |
getTags()
Assigns one or more tags (key-value pairs) to the app monitor.
|
int |
hashCode() |
Boolean |
isCwLogEnabled()
Data collected by RUM is kept by RUM for 30 days and then deleted.
|
void |
setAppMonitorConfiguration(AppMonitorConfiguration appMonitorConfiguration)
A structure that contains much of the configuration data for the app monitor.
|
void |
setCustomEvents(CustomEvents customEvents)
Specifies whether this app monitor allows the web client to define and send custom events.
|
void |
setCwLogEnabled(Boolean cwLogEnabled)
Data collected by RUM is kept by RUM for 30 days and then deleted.
|
void |
setDomain(String domain)
The top-level internet domain name for which your application has administrative authority.
|
void |
setName(String name)
A name for the app monitor.
|
void |
setTags(Map<String,String> tags)
Assigns one or more tags (key-value pairs) to the app monitor.
|
String |
toString()
Returns a string representation of this object.
|
CreateAppMonitorRequest |
withAppMonitorConfiguration(AppMonitorConfiguration appMonitorConfiguration)
A structure that contains much of the configuration data for the app monitor.
|
CreateAppMonitorRequest |
withCustomEvents(CustomEvents customEvents)
Specifies whether this app monitor allows the web client to define and send custom events.
|
CreateAppMonitorRequest |
withCwLogEnabled(Boolean cwLogEnabled)
Data collected by RUM is kept by RUM for 30 days and then deleted.
|
CreateAppMonitorRequest |
withDomain(String domain)
The top-level internet domain name for which your application has administrative authority.
|
CreateAppMonitorRequest |
withName(String name)
A name for the app monitor.
|
CreateAppMonitorRequest |
withTags(Map<String,String> tags)
Assigns one or more tags (key-value pairs) to the app monitor.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setAppMonitorConfiguration(AppMonitorConfiguration appMonitorConfiguration)
A structure that contains much of the configuration data for the app monitor. If you are using Amazon Cognito for
authorization, you must include this structure in your request, and it must include the ID of the Amazon Cognito
identity pool to use for authorization. If you don't include AppMonitorConfiguration
, you must set
up your own authorization method. For more information, see Authorize your application to send data to Amazon Web Services.
If you omit this argument, the sample rate used for RUM is set to 10% of the user sessions.
appMonitorConfiguration
- A structure that contains much of the configuration data for the app monitor. If you are using Amazon
Cognito for authorization, you must include this structure in your request, and it must include the ID of
the Amazon Cognito identity pool to use for authorization. If you don't include
AppMonitorConfiguration
, you must set up your own authorization method. For more information,
see Authorize your application to send data to Amazon Web Services.
If you omit this argument, the sample rate used for RUM is set to 10% of the user sessions.
public AppMonitorConfiguration getAppMonitorConfiguration()
A structure that contains much of the configuration data for the app monitor. If you are using Amazon Cognito for
authorization, you must include this structure in your request, and it must include the ID of the Amazon Cognito
identity pool to use for authorization. If you don't include AppMonitorConfiguration
, you must set
up your own authorization method. For more information, see Authorize your application to send data to Amazon Web Services.
If you omit this argument, the sample rate used for RUM is set to 10% of the user sessions.
AppMonitorConfiguration
, you must set up your own authorization method. For more
information, see Authorize your application to send data to Amazon Web Services.
If you omit this argument, the sample rate used for RUM is set to 10% of the user sessions.
public CreateAppMonitorRequest withAppMonitorConfiguration(AppMonitorConfiguration appMonitorConfiguration)
A structure that contains much of the configuration data for the app monitor. If you are using Amazon Cognito for
authorization, you must include this structure in your request, and it must include the ID of the Amazon Cognito
identity pool to use for authorization. If you don't include AppMonitorConfiguration
, you must set
up your own authorization method. For more information, see Authorize your application to send data to Amazon Web Services.
If you omit this argument, the sample rate used for RUM is set to 10% of the user sessions.
appMonitorConfiguration
- A structure that contains much of the configuration data for the app monitor. If you are using Amazon
Cognito for authorization, you must include this structure in your request, and it must include the ID of
the Amazon Cognito identity pool to use for authorization. If you don't include
AppMonitorConfiguration
, you must set up your own authorization method. For more information,
see Authorize your application to send data to Amazon Web Services.
If you omit this argument, the sample rate used for RUM is set to 10% of the user sessions.
public void setCustomEvents(CustomEvents customEvents)
Specifies whether this app monitor allows the web client to define and send custom events. If you omit this
parameter, custom events are DISABLED
.
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. If you omit
this parameter, custom events are DISABLED
.
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. If you omit this
parameter, custom events are DISABLED
.
For more information about custom events, see Send custom events.
DISABLED
.
For more information about custom events, see Send custom events.
public CreateAppMonitorRequest withCustomEvents(CustomEvents customEvents)
Specifies whether this app monitor allows the web client to define and send custom events. If you omit this
parameter, custom events are DISABLED
.
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. If you omit
this parameter, custom events are DISABLED
.
For more information about custom events, see Send custom events.
public void setCwLogEnabled(Boolean cwLogEnabled)
Data collected by RUM is kept by RUM for 30 days and then deleted. This parameter specifies whether RUM sends a copy of this telemetry data to Amazon CloudWatch Logs in your account. This enables you to keep the telemetry data for more than 30 days, but it does incur Amazon CloudWatch Logs charges.
If you omit this parameter, the default is false
.
cwLogEnabled
- Data collected by RUM is kept by RUM for 30 days and then deleted. This parameter specifies whether RUM
sends a copy of this telemetry data to Amazon CloudWatch Logs in your account. This enables you to keep
the telemetry data for more than 30 days, but it does incur Amazon CloudWatch Logs charges.
If you omit this parameter, the default is false
.
public Boolean getCwLogEnabled()
Data collected by RUM is kept by RUM for 30 days and then deleted. This parameter specifies whether RUM sends a copy of this telemetry data to Amazon CloudWatch Logs in your account. This enables you to keep the telemetry data for more than 30 days, but it does incur Amazon CloudWatch Logs charges.
If you omit this parameter, the default is false
.
If you omit this parameter, the default is false
.
public CreateAppMonitorRequest withCwLogEnabled(Boolean cwLogEnabled)
Data collected by RUM is kept by RUM for 30 days and then deleted. This parameter specifies whether RUM sends a copy of this telemetry data to Amazon CloudWatch Logs in your account. This enables you to keep the telemetry data for more than 30 days, but it does incur Amazon CloudWatch Logs charges.
If you omit this parameter, the default is false
.
cwLogEnabled
- Data collected by RUM is kept by RUM for 30 days and then deleted. This parameter specifies whether RUM
sends a copy of this telemetry data to Amazon CloudWatch Logs in your account. This enables you to keep
the telemetry data for more than 30 days, but it does incur Amazon CloudWatch Logs charges.
If you omit this parameter, the default is false
.
public Boolean isCwLogEnabled()
Data collected by RUM is kept by RUM for 30 days and then deleted. This parameter specifies whether RUM sends a copy of this telemetry data to Amazon CloudWatch Logs in your account. This enables you to keep the telemetry data for more than 30 days, but it does incur Amazon CloudWatch Logs charges.
If you omit this parameter, the default is false
.
If you omit this parameter, the default is false
.
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 CreateAppMonitorRequest 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 setName(String name)
A name for the app monitor.
name
- A name for the app monitor.public String getName()
A name for the app monitor.
public CreateAppMonitorRequest withName(String name)
A name for the app monitor.
name
- A name for the app monitor.public Map<String,String> getTags()
Assigns one or more tags (key-value pairs) to the app monitor.
Tags can help you organize and categorize your resources. You can also use them to scope user permissions by granting a user permission to access or change only resources with certain tag values.
Tags don't have any semantic meaning to Amazon Web Services and are interpreted strictly as strings of characters.
You can associate as many as 50 tags with an app monitor.
For more information, see Tagging Amazon Web Services resources.
Tags can help you organize and categorize your resources. You can also use them to scope user permissions by granting a user permission to access or change only resources with certain tag values.
Tags don't have any semantic meaning to Amazon Web Services and are interpreted strictly as strings of characters.
You can associate as many as 50 tags with an app monitor.
For more information, see Tagging Amazon Web Services resources.
public void setTags(Map<String,String> tags)
Assigns one or more tags (key-value pairs) to the app monitor.
Tags can help you organize and categorize your resources. You can also use them to scope user permissions by granting a user permission to access or change only resources with certain tag values.
Tags don't have any semantic meaning to Amazon Web Services and are interpreted strictly as strings of characters.
You can associate as many as 50 tags with an app monitor.
For more information, see Tagging Amazon Web Services resources.
tags
- Assigns one or more tags (key-value pairs) to the app monitor.
Tags can help you organize and categorize your resources. You can also use them to scope user permissions by granting a user permission to access or change only resources with certain tag values.
Tags don't have any semantic meaning to Amazon Web Services and are interpreted strictly as strings of characters.
You can associate as many as 50 tags with an app monitor.
For more information, see Tagging Amazon Web Services resources.
public CreateAppMonitorRequest withTags(Map<String,String> tags)
Assigns one or more tags (key-value pairs) to the app monitor.
Tags can help you organize and categorize your resources. You can also use them to scope user permissions by granting a user permission to access or change only resources with certain tag values.
Tags don't have any semantic meaning to Amazon Web Services and are interpreted strictly as strings of characters.
You can associate as many as 50 tags with an app monitor.
For more information, see Tagging Amazon Web Services resources.
tags
- Assigns one or more tags (key-value pairs) to the app monitor.
Tags can help you organize and categorize your resources. You can also use them to scope user permissions by granting a user permission to access or change only resources with certain tag values.
Tags don't have any semantic meaning to Amazon Web Services and are interpreted strictly as strings of characters.
You can associate as many as 50 tags with an app monitor.
For more information, see Tagging Amazon Web Services resources.
public CreateAppMonitorRequest addTagsEntry(String key, String value)
public CreateAppMonitorRequest clearTagsEntries()
public String toString()
toString
in class Object
Object.toString()
public CreateAppMonitorRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()