@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.
|
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 |
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 |
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 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.
<p>You can associate as many as 50 tags with an app monitor.</p> <p>For more information, see <a href="https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html">Tagging Amazon Web Services resources</a>.</p>
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.
<p>You can associate as many as 50 tags with an app monitor.</p> <p>For more information, see <a href="https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html">Tagging Amazon Web Services resources</a>.</p>
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.
<p>You can associate as many as 50 tags with an app monitor.</p> <p>For more information, see <a href="https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html">Tagging Amazon Web Services resources</a>.</p>
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.
<p>You can associate as many as 50 tags with an app monitor.</p> <p>For more information, see <a href="https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html">Tagging Amazon Web Services resources</a>.</p>
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.
<p>You can associate as many as 50 tags with an app monitor.</p> <p>For more information, see <a href="https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html">Tagging Amazon Web Services resources</a>.</p>
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.
<p>You can associate as many as 50 tags with an app monitor.</p> <p>For more information, see <a href="https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html">Tagging Amazon Web Services resources</a>.</p>
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()