@Stability(value=Stable) public static final class CfnContainer.MetricPolicyProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnContainer.MetricPolicyProperty>
CfnContainer.MetricPolicyProperty| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnContainer.MetricPolicyProperty |
build()
Builds the configured instance.
|
CfnContainer.MetricPolicyProperty.Builder |
containerLevelMetrics(String containerLevelMetrics)
Sets the value of
CfnContainer.MetricPolicyProperty.getContainerLevelMetrics() |
CfnContainer.MetricPolicyProperty.Builder |
metricPolicyRules(IResolvable metricPolicyRules)
Sets the value of
CfnContainer.MetricPolicyProperty.getMetricPolicyRules() |
CfnContainer.MetricPolicyProperty.Builder |
metricPolicyRules(List<? extends Object> metricPolicyRules)
Sets the value of
CfnContainer.MetricPolicyProperty.getMetricPolicyRules() |
@Stability(value=Stable) public CfnContainer.MetricPolicyProperty.Builder containerLevelMetrics(String containerLevelMetrics)
CfnContainer.MetricPolicyProperty.getContainerLevelMetrics()containerLevelMetrics - A setting to enable or disable metrics at the container level. This parameter is required.this@Stability(value=Stable) public CfnContainer.MetricPolicyProperty.Builder metricPolicyRules(IResolvable metricPolicyRules)
CfnContainer.MetricPolicyProperty.getMetricPolicyRules()metricPolicyRules - A parameter that holds an array of rules that enable metrics at the object level.
This parameter is optional, but if you choose to include it, you must also include at least one rule. By default, you can include up to five rules. You can also request a quota increase to allow up to 300 rules per policy.this@Stability(value=Stable) public CfnContainer.MetricPolicyProperty.Builder metricPolicyRules(List<? extends Object> metricPolicyRules)
CfnContainer.MetricPolicyProperty.getMetricPolicyRules()metricPolicyRules - A parameter that holds an array of rules that enable metrics at the object level.
This parameter is optional, but if you choose to include it, you must also include at least one rule. By default, you can include up to five rules. You can also request a quota increase to allow up to 300 rules per policy.this@Stability(value=Stable) public CfnContainer.MetricPolicyProperty build()
build in interface software.amazon.jsii.Builder<CfnContainer.MetricPolicyProperty>CfnContainer.MetricPolicyPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.