JavaScript is disabled on your browser.
Skip navigation links

AWS SDK for Java 1.x API Reference - 1.12.795

We announced the upcoming end-of-support for AWS SDK for Java (v1). We recommend that you migrate to AWS SDK for Java v2. For dates, additional details, and information on how to migrate, please refer to the linked announcement.
com.amazonaws.services.cloudwatchrum.model

Class BatchCreateRumMetricDefinitionsRequest

    • Constructor Detail

      • BatchCreateRumMetricDefinitionsRequest

        public BatchCreateRumMetricDefinitionsRequest()
    • Method Detail

      • setAppMonitorName

        public void setAppMonitorName(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.
      • getAppMonitorName

        public String getAppMonitorName()

        The name of the CloudWatch RUM app monitor that is to send the metrics.

        Returns:
        The name of the CloudWatch RUM app monitor that is to send the metrics.
      • withAppMonitorName

        public BatchCreateRumMetricDefinitionsRequest withAppMonitorName(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.
      • setDestination

        public void setDestination(String destination)

        The destination to send the metrics to. Valid values are CloudWatch and Evidently. If you specify Evidently, 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 are CloudWatch and Evidently. If you specify Evidently, 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.
        See Also:
        MetricDestination
      • getDestination

        public String getDestination()

        The destination to send the metrics to. Valid values are CloudWatch and Evidently. If you specify Evidently, 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:
        The destination to send the metrics to. Valid values are CloudWatch and Evidently. If you specify Evidently, 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.
        See Also:
        MetricDestination
      • withDestination

        public BatchCreateRumMetricDefinitionsRequest withDestination(String destination)

        The destination to send the metrics to. Valid values are CloudWatch and Evidently. If you specify Evidently, 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 are CloudWatch and Evidently. If you specify Evidently, 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:
        MetricDestination
      • withDestination

        public BatchCreateRumMetricDefinitionsRequest withDestination(MetricDestination destination)

        The destination to send the metrics to. Valid values are CloudWatch and Evidently. If you specify Evidently, 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 are CloudWatch and Evidently. If you specify Evidently, 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:
        MetricDestination
      • setDestinationArn

        public void setDestinationArn(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.

      • getDestinationArn

        public String getDestinationArn()

        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:
        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.

      • withDestinationArn

        public BatchCreateRumMetricDefinitionsRequest withDestinationArn(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.
      • getMetricDefinitions

        public List<MetricDefinitionRequest> getMetricDefinitions()

        An array of structures which define the metrics that you want to send.

        Returns:
        An array of structures which define the metrics that you want to send.
      • setMetricDefinitions

        public void setMetricDefinitions(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.
      • withMetricDefinitions

        public BatchCreateRumMetricDefinitionsRequest withMetricDefinitions(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.
      • toString

        public String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
Skip navigation links

AltStyle によって変換されたページ (->オリジナル) /