| Package | Description |
|---|---|
| software.amazon.awssdk.services.cloudwatchlogs.model |
| Modifier and Type | Method and Description |
|---|---|
static MetricTransformation.Builder |
MetricTransformation.builder() |
MetricTransformation.Builder |
MetricTransformation.Builder.defaultValue(Double defaultValue)
(Optional) The value to emit when a filter pattern does not match a log event.
|
MetricTransformation.Builder |
MetricTransformation.Builder.dimensions(Map<String,String> dimensions)
The fields to use as dimensions for the metric.
|
MetricTransformation.Builder |
MetricTransformation.Builder.metricName(String metricName)
The name of the CloudWatch metric.
|
MetricTransformation.Builder |
MetricTransformation.Builder.metricNamespace(String metricNamespace)
A custom namespace to contain your metric in CloudWatch.
|
MetricTransformation.Builder |
MetricTransformation.Builder.metricValue(String metricValue)
The value to publish to the CloudWatch metric when a filter pattern matches a log event.
|
MetricTransformation.Builder |
MetricTransformation.toBuilder() |
MetricTransformation.Builder |
MetricTransformation.Builder.unit(StandardUnit unit)
The unit to assign to the metric.
|
MetricTransformation.Builder |
MetricTransformation.Builder.unit(String unit)
The unit to assign to the metric.
|
| Modifier and Type | Method and Description |
|---|---|
static Class<? extends MetricTransformation.Builder> |
MetricTransformation.serializableBuilderClass() |
Copyright © 2022. All rights reserved.