Interface PutRumMetricsDestinationRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<PutRumMetricsDestinationRequest.Builder,
,PutRumMetricsDestinationRequest> RumRequest.Builder
,SdkBuilder<PutRumMetricsDestinationRequest.Builder,
,PutRumMetricsDestinationRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
PutRumMetricsDestinationRequest
-
Method Summary
Modifier and TypeMethodDescriptionappMonitorName
(String appMonitorName) The name of the CloudWatch RUM app monitor that will send the metrics.destination
(String destination) Defines the destination to send the metrics to.destination
(MetricDestination destination) Defines the destination to send the metrics to.destinationArn
(String destinationArn) Use this parameter only ifDestination
isEvidently
.iamRoleArn
(String iamRoleArn) This parameter is required ifDestination
isEvidently
.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
-
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
Defines the destination to send the metrics to. Valid values are
CloudWatch
andEvidently
. 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 areCloudWatch
andEvidently
. 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:
-
destination
Defines the destination to send the metrics to. Valid values are
CloudWatch
andEvidently
. 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 areCloudWatch
andEvidently
. 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:
-
destinationArn
Use this parameter only if
Destination
isEvidently
. This parameter specifies the ARN of the Evidently experiment that will receive the extended metrics.- Parameters:
destinationArn
- Use this parameter only ifDestination
isEvidently
. 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
This parameter is required if
Destination
isEvidently
. IfDestination
isCloudWatch
, don't 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.
If you specify this parameter, you must be signed on to a role that has PassRole permissions attached to it, to allow the role to be passed. The CloudWatchAmazonCloudWatchRUMFullAccess policy doesn't include
PassRole
permissions.- Parameters:
iamRoleArn
- This parameter is required ifDestination
isEvidently
. IfDestination
isCloudWatch
, don't 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.
If you specify this parameter, you must be signed on to a role that has PassRole permissions attached to it, to allow the role to be passed. The CloudWatchAmazonCloudWatchRUMFullAccess policy doesn't include
PassRole
permissions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
PutRumMetricsDestinationRequest.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
PutRumMetricsDestinationRequest.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.
-