| Package | Description |
|---|---|
| com.amazonaws.services.logs.model |
| Modifier and Type | Method and Description |
|---|---|
MetricTransformation |
MetricTransformation.addDimensionsEntry(String key,
String value)
Add a single Dimensions entry
|
MetricTransformation |
MetricTransformation.clearDimensionsEntries()
Removes all the entries added into Dimensions.
|
MetricTransformation |
MetricTransformation.clone() |
MetricTransformation |
MetricTransformation.withDefaultValue(Double defaultValue)
(Optional) The value to emit when a filter pattern does not match a log event.
|
MetricTransformation |
MetricTransformation.withDimensions(Map<String,String> dimensions)
The fields to use as dimensions for the metric.
|
MetricTransformation |
MetricTransformation.withMetricName(String metricName)
The name of the CloudWatch metric.
|
MetricTransformation |
MetricTransformation.withMetricNamespace(String metricNamespace)
A custom namespace to contain your metric in CloudWatch.
|
MetricTransformation |
MetricTransformation.withMetricValue(String metricValue)
The value to publish to the CloudWatch metric when a filter pattern matches a log event.
|
MetricTransformation |
MetricTransformation.withUnit(StandardUnit unit)
The unit to assign to the metric.
|
MetricTransformation |
MetricTransformation.withUnit(String unit)
The unit to assign to the metric.
|
| Modifier and Type | Method and Description |
|---|---|
List<MetricTransformation> |
MetricFilter.getMetricTransformations()
The metric transformations.
|
List<MetricTransformation> |
PutMetricFilterRequest.getMetricTransformations()
A collection of information that defines how metric data gets emitted.
|
| Modifier and Type | Method and Description |
|---|---|
MetricFilter |
MetricFilter.withMetricTransformations(MetricTransformation... metricTransformations)
The metric transformations.
|
PutMetricFilterRequest |
PutMetricFilterRequest.withMetricTransformations(MetricTransformation... metricTransformations)
A collection of information that defines how metric data gets emitted.
|
| Modifier and Type | Method and Description |
|---|---|
void |
MetricFilter.setMetricTransformations(Collection<MetricTransformation> metricTransformations)
The metric transformations.
|
void |
PutMetricFilterRequest.setMetricTransformations(Collection<MetricTransformation> metricTransformations)
A collection of information that defines how metric data gets emitted.
|
MetricFilter |
MetricFilter.withMetricTransformations(Collection<MetricTransformation> metricTransformations)
The metric transformations.
|
PutMetricFilterRequest |
PutMetricFilterRequest.withMetricTransformations(Collection<MetricTransformation> metricTransformations)
A collection of information that defines how metric data gets emitted.
|
| Constructor and Description |
|---|
PutMetricFilterRequest(String logGroupName,
String filterName,
String filterPattern,
List<MetricTransformation> metricTransformations)
Constructs a new PutMetricFilterRequest object.
|
Copyright © 2023. All rights reserved.