Interface CreateAppMonitorRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateAppMonitorRequest.Builder,CreateAppMonitorRequest>,RumRequest.Builder,SdkBuilder<CreateAppMonitorRequest.Builder,CreateAppMonitorRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreateAppMonitorRequest
public static interface CreateAppMonitorRequest.Builder extends RumRequest.Builder, SdkPojo, CopyableBuilder<CreateAppMonitorRequest.Builder,CreateAppMonitorRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default CreateAppMonitorRequest.BuilderappMonitorConfiguration(Consumer<AppMonitorConfiguration.Builder> appMonitorConfiguration)A structure that contains much of the configuration data for the app monitor.CreateAppMonitorRequest.BuilderappMonitorConfiguration(AppMonitorConfiguration appMonitorConfiguration)A structure that contains much of the configuration data for the app monitor.default CreateAppMonitorRequest.BuildercustomEvents(Consumer<CustomEvents.Builder> customEvents)Specifies whether this app monitor allows the web client to define and send custom events.CreateAppMonitorRequest.BuildercustomEvents(CustomEvents customEvents)Specifies whether this app monitor allows the web client to define and send custom events.CreateAppMonitorRequest.BuildercwLogEnabled(Boolean cwLogEnabled)Data collected by RUM is kept by RUM for 30 days and then deleted.CreateAppMonitorRequest.Builderdomain(String domain)The top-level internet domain name for which your application has administrative authority.CreateAppMonitorRequest.Buildername(String name)A name for the app monitor.CreateAppMonitorRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreateAppMonitorRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)CreateAppMonitorRequest.Buildertags(Map<String,String> tags)Assigns one or more tags (key-value pairs) to the app monitor.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.rum.model.RumRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
appMonitorConfiguration
CreateAppMonitorRequest.Builder appMonitorConfiguration(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.
- Parameters:
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 includeAppMonitorConfiguration, 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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
appMonitorConfiguration
default CreateAppMonitorRequest.Builder appMonitorConfiguration(Consumer<AppMonitorConfiguration.Builder> 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.
This is a convenience method that creates an instance of theAppMonitorConfiguration.Builderavoiding the need to create one manually viaAppMonitorConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toappMonitorConfiguration(AppMonitorConfiguration).- Parameters:
appMonitorConfiguration- a consumer that will call methods onAppMonitorConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
appMonitorConfiguration(AppMonitorConfiguration)
-
customEvents
CreateAppMonitorRequest.Builder customEvents(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.
- Parameters:
customEvents- Specifies whether this app monitor allows the web client to define and send custom events. If you omit this parameter, custom events areDISABLED.For more information about custom events, see Send custom events.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
customEvents
default CreateAppMonitorRequest.Builder customEvents(Consumer<CustomEvents.Builder> 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.
This is a convenience method that creates an instance of theCustomEvents.Builderavoiding the need to create one manually viaCustomEvents.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocustomEvents(CustomEvents).- Parameters:
customEvents- a consumer that will call methods onCustomEvents.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
customEvents(CustomEvents)
-
cwLogEnabled
CreateAppMonitorRequest.Builder cwLogEnabled(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.- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
domain
CreateAppMonitorRequest.Builder domain(String domain)
The top-level internet domain name for which your application has administrative authority.
- Parameters:
domain- The top-level internet domain name for which your application has administrative authority.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
CreateAppMonitorRequest.Builder name(String name)
A name for the app monitor.
- Parameters:
name- A name for the app monitor.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
CreateAppMonitorRequest.Builder tags(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.
- Parameters:
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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateAppMonitorRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateAppMonitorRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-