@Stability(value=Stable) public static final class CfnMetricFilterProps.Builder extends Object implements software.amazon.jsii.Builder<CfnMetricFilterProps>
CfnMetricFilterProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnMetricFilterProps |
build()
Builds the configured instance.
|
CfnMetricFilterProps.Builder |
filterName(String filterName)
Sets the value of
CfnMetricFilterProps.getFilterName() |
CfnMetricFilterProps.Builder |
filterPattern(String filterPattern)
Sets the value of
CfnMetricFilterProps.getFilterPattern() |
CfnMetricFilterProps.Builder |
logGroupName(String logGroupName)
Sets the value of
CfnMetricFilterProps.getLogGroupName() |
CfnMetricFilterProps.Builder |
metricTransformations(IResolvable metricTransformations)
Sets the value of
CfnMetricFilterProps.getMetricTransformations() |
CfnMetricFilterProps.Builder |
metricTransformations(List<? extends Object> metricTransformations)
Sets the value of
CfnMetricFilterProps.getMetricTransformations() |
@Stability(value=Stable) public CfnMetricFilterProps.Builder filterPattern(String filterPattern)
CfnMetricFilterProps.getFilterPattern()filterPattern - A filter pattern for extracting metric data out of ingested log events. This parameter is required.
For more information, see Filter and Pattern Syntax .this@Stability(value=Stable) public CfnMetricFilterProps.Builder logGroupName(String logGroupName)
CfnMetricFilterProps.getLogGroupName()logGroupName - The name of an existing log group that you want to associate with this metric filter. This parameter is required.this@Stability(value=Stable) public CfnMetricFilterProps.Builder metricTransformations(IResolvable metricTransformations)
CfnMetricFilterProps.getMetricTransformations()metricTransformations - The metric transformations. This parameter is required.this@Stability(value=Stable) public CfnMetricFilterProps.Builder metricTransformations(List<? extends Object> metricTransformations)
CfnMetricFilterProps.getMetricTransformations()metricTransformations - The metric transformations. This parameter is required.this@Stability(value=Stable) public CfnMetricFilterProps.Builder filterName(String filterName)
CfnMetricFilterProps.getFilterName()filterName - `AWS::Logs::MetricFilter.FilterName`.this@Stability(value=Stable) public CfnMetricFilterProps build()
build in interface software.amazon.jsii.Builder<CfnMetricFilterProps>CfnMetricFilterPropsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.