Interface BatchCreateRumMetricDefinitionsRequest.Builder

    • Method Detail

      • appMonitorName

        BatchCreateRumMetricDefinitionsRequest.Builder appMonitorName​(String 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

        BatchCreateRumMetricDefinitionsRequest.Builder destination​(String destination)

        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 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 are CloudWatch and Evidently. If you specify Evidently, 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:
        MetricDestination, MetricDestination
      • destination

        BatchCreateRumMetricDefinitionsRequest.Builder destination​(MetricDestination destination)

        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 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 are CloudWatch and Evidently. If you specify Evidently, 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:
        MetricDestination, MetricDestination
      • destinationArn

        BatchCreateRumMetricDefinitionsRequest.Builder destinationArn​(String destinationArn)

        This parameter is required if Destination is Evidently. If Destination is CloudWatch, 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 if Destination is Evidently. If Destination is CloudWatch, 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.