Interface UpdateAppMonitorRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateAppMonitorRequest.Builder,UpdateAppMonitorRequest>,RumRequest.Builder,SdkBuilder<UpdateAppMonitorRequest.Builder,UpdateAppMonitorRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- UpdateAppMonitorRequest
public static interface UpdateAppMonitorRequest.Builder extends RumRequest.Builder, SdkPojo, CopyableBuilder<UpdateAppMonitorRequest.Builder,UpdateAppMonitorRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default UpdateAppMonitorRequest.BuilderappMonitorConfiguration(Consumer<AppMonitorConfiguration.Builder> appMonitorConfiguration)A structure that contains much of the configuration data for the app monitor.UpdateAppMonitorRequest.BuilderappMonitorConfiguration(AppMonitorConfiguration appMonitorConfiguration)A structure that contains much of the configuration data for the app monitor.default UpdateAppMonitorRequest.BuildercustomEvents(Consumer<CustomEvents.Builder> customEvents)Specifies whether this app monitor allows the web client to define and send custom events.UpdateAppMonitorRequest.BuildercustomEvents(CustomEvents customEvents)Specifies whether this app monitor allows the web client to define and send custom events.UpdateAppMonitorRequest.BuildercwLogEnabled(Boolean cwLogEnabled)Data collected by RUM is kept by RUM for 30 days and then deleted.UpdateAppMonitorRequest.Builderdomain(String domain)The top-level internet domain name for which your application has administrative authority.UpdateAppMonitorRequest.Buildername(String name)The name of the app monitor to update.UpdateAppMonitorRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)UpdateAppMonitorRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)-
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
UpdateAppMonitorRequest.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.- 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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
appMonitorConfiguration
default UpdateAppMonitorRequest.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
This is a convenience method that creates an instance of theAppMonitorConfiguration, you must set up your own authorization method. For more information, see Authorize your application to send data to Amazon Web Services.AppMonitorConfiguration.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
UpdateAppMonitorRequest.Builder customEvents(CustomEvents customEvents)
Specifies whether this app monitor allows the web client to define and send custom events. The default is for custom events to be
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. The default is for custom events to beDISABLED.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 UpdateAppMonitorRequest.Builder customEvents(Consumer<CustomEvents.Builder> customEvents)
Specifies whether this app monitor allows the web client to define and send custom events. The default is for custom events to be
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
UpdateAppMonitorRequest.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.
- 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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
domain
UpdateAppMonitorRequest.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
UpdateAppMonitorRequest.Builder name(String name)
The name of the app monitor to update.
- Parameters:
name- The name of the app monitor to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
UpdateAppMonitorRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
UpdateAppMonitorRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-