Interface BatchCreateRumMetricDefinitionsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<BatchCreateRumMetricDefinitionsRequest.Builder,
,BatchCreateRumMetricDefinitionsRequest> RumRequest.Builder
,SdkBuilder<BatchCreateRumMetricDefinitionsRequest.Builder,
,BatchCreateRumMetricDefinitionsRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
BatchCreateRumMetricDefinitionsRequest
-
Method Summary
Modifier and TypeMethodDescriptionappMonitorName
(String appMonitorName) The name of the CloudWatch RUM app monitor that is to send the 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 ifDestination
isEvidently
.metricDefinitions
(Collection<MetricDefinitionRequest> metricDefinitions) An array of structures which define the metrics that you want to send.metricDefinitions
(Consumer<MetricDefinitionRequest.Builder>... metricDefinitions) An array of structures which define the metrics that you want to send.metricDefinitions
(MetricDefinitionRequest... metricDefinitions) An array of structures which define the metrics that you want to send.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, sdkFieldNameToField, sdkFields
-
Method Details
-
appMonitorName
The name of the CloudWatch RUM app monitor that is to send the metrics.
- Parameters:
appMonitorName
- The name of the CloudWatch RUM app monitor that is to send the 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
CloudWatch
andEvidently
. If you specifyEvidently
, you must also specify the Amazon Resource Name (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 areCloudWatch
andEvidently
. If you specifyEvidently
, you must also specify the Amazon Resource Name (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
CloudWatch
andEvidently
. If you specifyEvidently
, you must also specify the Amazon Resource Name (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 areCloudWatch
andEvidently
. If you specifyEvidently
, you must also specify the Amazon Resource Name (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
Destination
isEvidently
. IfDestination
isCloudWatch
, 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 ifDestination
isEvidently
. IfDestination
isCloudWatch
, 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.
-
metricDefinitions
BatchCreateRumMetricDefinitionsRequest.Builder metricDefinitions(Collection<MetricDefinitionRequest> metricDefinitions) An array of structures which define the metrics that you want to send.
- Parameters:
metricDefinitions
- An array of structures which define the metrics that you want to send.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metricDefinitions
BatchCreateRumMetricDefinitionsRequest.Builder metricDefinitions(MetricDefinitionRequest... metricDefinitions) An array of structures which define the metrics that you want to send.
- Parameters:
metricDefinitions
- An array of structures which define the metrics that you want to send.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metricDefinitions
BatchCreateRumMetricDefinitionsRequest.Builder metricDefinitions(Consumer<MetricDefinitionRequest.Builder>... metricDefinitions) An array of structures which define the metrics that you want to send.
This is a convenience method that creates an instance of theMetricDefinitionRequest.Builder
avoiding the need to create one manually viaMetricDefinitionRequest.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tometricDefinitions(List<MetricDefinitionRequest>)
.- Parameters:
metricDefinitions
- 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:
-
overrideConfiguration
BatchCreateRumMetricDefinitionsRequest.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
BatchCreateRumMetricDefinitionsRequest.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.
-