Class ResourceMetricsConfigurationMetricSelectionArgs.Builder

    • Method Detail

      • includeMetrics

        public ResourceMetricsConfigurationMetricSelectionArgs.Builder includeMetrics​(com.pulumi.core.Output<java.util.List<java.lang.String>> includeMetrics)
        Parameters:
        includeMetrics - Set of metric names to collect for the resource. CloudWatch collects only the metrics listed here. Between 1 and 500 names, each between 1 and 255 characters. For the OpenTelemetry metrics published by ElastiCache, see [OpenTelemetry metrics](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/otel-metrics.html).
        Returns:
        builder
      • includeMetrics

        public ResourceMetricsConfigurationMetricSelectionArgs.Builder includeMetrics​(java.util.List<java.lang.String> includeMetrics)
        Parameters:
        includeMetrics - Set of metric names to collect for the resource. CloudWatch collects only the metrics listed here. Between 1 and 500 names, each between 1 and 255 characters. For the OpenTelemetry metrics published by ElastiCache, see [OpenTelemetry metrics](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/otel-metrics.html).
        Returns:
        builder
      • includeMetrics

        public ResourceMetricsConfigurationMetricSelectionArgs.Builder includeMetrics​(java.lang.String... includeMetrics)
        Parameters:
        includeMetrics - Set of metric names to collect for the resource. CloudWatch collects only the metrics listed here. Between 1 and 500 names, each between 1 and 255 characters. For the OpenTelemetry metrics published by ElastiCache, see [OpenTelemetry metrics](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/otel-metrics.html).
        Returns:
        builder