public static interface MetricTransformation.Builder extends 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)
The namespace of the CloudWatch metric.
|
MetricTransformation.Builder |
metricValue(String metricValue)
The value to publish to the CloudWatch metric when a filter pattern matches a log event.
|
copy
applyMutation, build
MetricTransformation.Builder metricName(String metricName)
The name of the CloudWatch metric.
metricName
- The name of the CloudWatch metric.MetricTransformation.Builder metricNamespace(String metricNamespace)
The namespace of the CloudWatch metric.
metricNamespace
- The namespace of the CloudWatch metric.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 © 2017 Amazon Web Services, Inc. All Rights Reserved.