public static interface MetricFilter.Builder extends CopyableBuilder<MetricFilter.Builder,MetricFilter>
| Modifier and Type | Method and Description |
|---|---|
MetricFilter.Builder |
creationTime(Long creationTime)
The creation time of the metric filter, expressed as the number of milliseconds after Jan 1, 1970 00:00:00
UTC.
|
MetricFilter.Builder |
filterName(String filterName)
The name of the metric filter.
|
MetricFilter.Builder |
filterPattern(String filterPattern)
Sets the value of the FilterPattern property for this object.
|
MetricFilter.Builder |
logGroupName(String logGroupName)
The name of the log group.
|
MetricFilter.Builder |
metricTransformations(Collection<MetricTransformation> metricTransformations)
The metric transformations.
|
MetricFilter.Builder |
metricTransformations(Consumer<MetricTransformation.Builder>... metricTransformations)
The metric transformations.
|
MetricFilter.Builder |
metricTransformations(MetricTransformation... metricTransformations)
The metric transformations.
|
copyapply, buildMetricFilter.Builder filterName(String filterName)
The name of the metric filter.
filterName - The name of the metric filter.MetricFilter.Builder filterPattern(String filterPattern)
filterPattern - The new value for the FilterPattern property for this object.MetricFilter.Builder metricTransformations(Collection<MetricTransformation> metricTransformations)
The metric transformations.
metricTransformations - The metric transformations.MetricFilter.Builder metricTransformations(MetricTransformation... metricTransformations)
The metric transformations.
metricTransformations - The metric transformations.MetricFilter.Builder metricTransformations(Consumer<MetricTransformation.Builder>... metricTransformations)
The metric transformations.
This is a convenience that creates an instance of theList.Builder avoiding the
need to create one manually via List#builder() .
When the Consumer completes, List.Builder#build() is called immediately
and its result is passed to #metricTransformations(List) .metricTransformations - a consumer that will call methods on List.Builder #metricTransformations(List) MetricFilter.Builder creationTime(Long creationTime)
The creation time of the metric filter, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.
creationTime - The creation time of the metric filter, expressed as the number of milliseconds after Jan 1, 1970
00:00:00 UTC.MetricFilter.Builder logGroupName(String logGroupName)
The name of the log group.
logGroupName - The name of the log group.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.