Interface UpdateRumMetricDefinitionRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateRumMetricDefinitionRequest.Builder,,UpdateRumMetricDefinitionRequest> RumRequest.Builder,SdkBuilder<UpdateRumMetricDefinitionRequest.Builder,,UpdateRumMetricDefinitionRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
UpdateRumMetricDefinitionRequest
-
Method Summary
Modifier and TypeMethodDescriptionappMonitorName(String appMonitorName) The name of the CloudWatch RUM app monitor that sends these metrics.destination(String destination) The destination to send the metrics to.destination(MetricDestination destination) The destination to send the metrics to.destinationArn(String destinationArn) This parameter is required ifDestinationisEvidently.metricDefinition(Consumer<MetricDefinitionRequest.Builder> metricDefinition) A structure that contains the new definition that you want to use for this metric.metricDefinition(MetricDefinitionRequest metricDefinition) A structure that contains the new definition that you want to use for this metric.metricDefinitionId(String metricDefinitionId) The ID of the metric definition 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
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.rum.model.RumRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
appMonitorName
The name of the CloudWatch RUM app monitor that sends these metrics.
- Parameters:
appMonitorName- The name of the CloudWatch RUM app monitor that sends these metrics.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
destination
The destination to send the metrics to. Valid values are
CloudWatchandEvidently. If you specifyEvidently, you must also specify the ARN of the CloudWatchEvidently experiment that will receive the metrics and an IAM role that has permission to write to the experiment.- Parameters:
destination- The destination to send the metrics to. Valid values areCloudWatchandEvidently. If you specifyEvidently, you must also specify the ARN of the CloudWatchEvidently experiment that will receive the metrics and an IAM role that has permission to write to the experiment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
destination
The destination to send the metrics to. Valid values are
CloudWatchandEvidently. If you specifyEvidently, you must also specify the ARN of the CloudWatchEvidently experiment that will receive the metrics and an IAM role that has permission to write to the experiment.- Parameters:
destination- The destination to send the metrics to. Valid values areCloudWatchandEvidently. If you specifyEvidently, you must also specify the ARN of the CloudWatchEvidently experiment that will receive the metrics and an IAM role that has permission to write to the experiment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
destinationArn
This parameter is required if
DestinationisEvidently. IfDestinationisCloudWatch, do not use this parameter.This parameter specifies the ARN of the Evidently experiment that is to receive the metrics. You must have already defined this experiment as a valid destination. For more information, see PutRumMetricsDestination.
- Parameters:
destinationArn- This parameter is required ifDestinationisEvidently. IfDestinationisCloudWatch, do not use this parameter.This parameter specifies the ARN of the Evidently experiment that is to receive the metrics. You must have already defined this experiment as a valid destination. For more information, see PutRumMetricsDestination.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metricDefinition
A structure that contains the new definition that you want to use for this metric.
- Parameters:
metricDefinition- A structure that contains the new definition that you want to use for this metric.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metricDefinition
default UpdateRumMetricDefinitionRequest.Builder metricDefinition(Consumer<MetricDefinitionRequest.Builder> metricDefinition) A structure that contains the new definition that you want to use for this metric.
This is a convenience method that creates an instance of theMetricDefinitionRequest.Builderavoiding the need to create one manually viaMetricDefinitionRequest.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tometricDefinition(MetricDefinitionRequest).- Parameters:
metricDefinition- a consumer that will call methods onMetricDefinitionRequest.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
metricDefinitionId
The ID of the metric definition to update.
- Parameters:
metricDefinitionId- The ID of the metric definition to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
UpdateRumMetricDefinitionRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdateRumMetricDefinitionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-