@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 |
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 - `AWS::Logs::MetricFilter.FilterPattern`. This parameter is required.this@Stability(value=Stable) public CfnMetricFilterProps.Builder logGroupName(String logGroupName)
CfnMetricFilterProps.getLogGroupName()logGroupName - `AWS::Logs::MetricFilter.LogGroupName`. This parameter is required.this@Stability(value=Stable) public CfnMetricFilterProps.Builder metricTransformations(IResolvable metricTransformations)
CfnMetricFilterProps.getMetricTransformations()metricTransformations - `AWS::Logs::MetricFilter.MetricTransformations`. This parameter is required.this@Stability(value=Stable) public CfnMetricFilterProps.Builder metricTransformations(List<? extends Object> metricTransformations)
CfnMetricFilterProps.getMetricTransformations()metricTransformations - `AWS::Logs::MetricFilter.MetricTransformations`. This parameter is required.this@Stability(value=Stable) public CfnMetricFilterProps build()
build in interface software.amazon.jsii.Builder<CfnMetricFilterProps>CfnMetricFilterPropsNullPointerException - if any required attribute was not providedCopyright © 2021. All rights reserved.