public static interface MetricTransformation.Builder extends SdkPojo, CopyableBuilder<MetricTransformation.Builder,MetricTransformation>
| Modifier and Type | Method and Description |
|---|---|
MetricTransformation.Builder |
defaultValue(Double defaultValue)
(Optional) The value to emit when a filter pattern does not match a log event.
|
MetricTransformation.Builder |
metricName(String metricName)
The name of the CloudWatch metric.
|
MetricTransformation.Builder |
metricNamespace(String metricNamespace)
A custom namespace to contain your metric in CloudWatch.
|
MetricTransformation.Builder |
metricValue(String metricValue)
The value to publish to the CloudWatch metric when a filter pattern matches a log event.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildMetricTransformation.Builder metricName(String metricName)
The name of the CloudWatch metric.
metricName - The name of the CloudWatch metric.MetricTransformation.Builder metricNamespace(String metricNamespace)
A custom namespace to contain your metric in CloudWatch. Use namespaces to group together metrics that are similar. For more information, see Namespaces.
metricNamespace - A custom namespace to contain your metric in CloudWatch. Use namespaces to group together metrics that
are similar. For more information, see Namespaces.MetricTransformation.Builder metricValue(String metricValue)
The value to publish to the CloudWatch metric when a filter pattern matches a log event.
metricValue - The value to publish to the CloudWatch metric when a filter pattern matches a log event.MetricTransformation.Builder defaultValue(Double defaultValue)
(Optional) The value to emit when a filter pattern does not match a log event. This value can be null.
defaultValue - (Optional) The value to emit when a filter pattern does not match a log event. This value can be null.Copyright © 2021. All rights reserved.