Interface PutRumMetricsDestinationRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<PutRumMetricsDestinationRequest.Builder,PutRumMetricsDestinationRequest>,RumRequest.Builder,SdkBuilder<PutRumMetricsDestinationRequest.Builder,PutRumMetricsDestinationRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- PutRumMetricsDestinationRequest
public static interface PutRumMetricsDestinationRequest.Builder extends RumRequest.Builder, SdkPojo, CopyableBuilder<PutRumMetricsDestinationRequest.Builder,PutRumMetricsDestinationRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PutRumMetricsDestinationRequest.BuilderappMonitorName(String appMonitorName)The name of the CloudWatch RUM app monitor that will send the metrics.PutRumMetricsDestinationRequest.Builderdestination(String destination)Defines the destination to send the metrics to.PutRumMetricsDestinationRequest.Builderdestination(MetricDestination destination)Defines the destination to send the metrics to.PutRumMetricsDestinationRequest.BuilderdestinationArn(String destinationArn)Use this parameter only ifDestinationisEvidently.PutRumMetricsDestinationRequest.BuilderiamRoleArn(String iamRoleArn)This parameter is required ifDestinationisEvidently.PutRumMetricsDestinationRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)PutRumMetricsDestinationRequest.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
-
appMonitorName
PutRumMetricsDestinationRequest.Builder appMonitorName(String appMonitorName)
The name of the CloudWatch RUM app monitor that will send the metrics.
- Parameters:
appMonitorName- The name of the CloudWatch RUM app monitor that will send the metrics.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
destination
PutRumMetricsDestinationRequest.Builder destination(String destination)
Defines 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 is to be the destination and an IAM role that has permission to write to the experiment.- Parameters:
destination- Defines the destination to send the metrics to. Valid values areCloudWatchandEvidently. If you specifyEvidently, you must also specify the ARN of the CloudWatchEvidently experiment that is to be the destination 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:
MetricDestination,MetricDestination
-
destination
PutRumMetricsDestinationRequest.Builder destination(MetricDestination destination)
Defines 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 is to be the destination and an IAM role that has permission to write to the experiment.- Parameters:
destination- Defines the destination to send the metrics to. Valid values areCloudWatchandEvidently. If you specifyEvidently, you must also specify the ARN of the CloudWatchEvidently experiment that is to be the destination 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:
MetricDestination,MetricDestination
-
destinationArn
PutRumMetricsDestinationRequest.Builder destinationArn(String destinationArn)
Use this parameter only if
DestinationisEvidently. This parameter specifies the ARN of the Evidently experiment that will receive the extended metrics.- Parameters:
destinationArn- Use this parameter only ifDestinationisEvidently. This parameter specifies the ARN of the Evidently experiment that will receive the extended metrics.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
iamRoleArn
PutRumMetricsDestinationRequest.Builder iamRoleArn(String iamRoleArn)
This parameter is required if
DestinationisEvidently. IfDestinationisCloudWatch, do not use this parameter.This parameter specifies the ARN of an IAM role that RUM will assume to write to the Evidently experiment that you are sending metrics to. This role must have permission to write to that experiment.
- Parameters:
iamRoleArn- This parameter is required ifDestinationisEvidently. IfDestinationisCloudWatch, do not use this parameter.This parameter specifies the ARN of an IAM role that RUM will assume to write to the Evidently experiment that you are sending metrics to. This role must have permission to write to that experiment.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
PutRumMetricsDestinationRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
PutRumMetricsDestinationRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-