Interface UpdateAppMonitorRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<UpdateAppMonitorRequest.Builder,
,UpdateAppMonitorRequest> RumRequest.Builder
,SdkBuilder<UpdateAppMonitorRequest.Builder,
,UpdateAppMonitorRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
UpdateAppMonitorRequest
-
Method Summary
Modifier and TypeMethodDescriptiondefault UpdateAppMonitorRequest.Builder
appMonitorConfiguration
(Consumer<AppMonitorConfiguration.Builder> appMonitorConfiguration) A structure that contains much of the configuration data for the app monitor.appMonitorConfiguration
(AppMonitorConfiguration appMonitorConfiguration) A structure that contains much of the configuration data for the app monitor.default UpdateAppMonitorRequest.Builder
customEvents
(Consumer<CustomEvents.Builder> customEvents) Specifies whether this app monitor allows the web client to define and send custom events.customEvents
(CustomEvents customEvents) Specifies whether this app monitor allows the web client to define and send custom events.cwLogEnabled
(Boolean cwLogEnabled) Data collected by RUM is kept by RUM for 30 days and then deleted.The top-level internet domain name for which your application has administrative authority.The name of the app monitor to update.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.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 Details
-
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.Builder
avoiding the need to create one manually viaAppMonitorConfiguration.builder()
.When the
Consumer
completes,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:
-
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
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.Builder
avoiding the need to create one manually viaCustomEvents.builder()
.When the
Consumer
completes,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:
-
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
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
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) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdateAppMonitorRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-