Interface PutRumMetricsDestinationRequest.Builder

    • 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 CloudWatch and Evidently. If you specify Evidently, 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 are CloudWatch and Evidently. If you specify Evidently, 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 CloudWatch and Evidently. If you specify Evidently, 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 are CloudWatch and Evidently. If you specify Evidently, 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 Destination is Evidently. This parameter specifies the ARN of the Evidently experiment that will receive the extended metrics.

        Parameters:
        destinationArn - Use this parameter only if Destination is Evidently. 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 Destination is Evidently. If Destination is CloudWatch, 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 if Destination is Evidently. If Destination is CloudWatch, 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.