@Stability(value=Stable) public static final class CfnLaunch.MetricDefinitionObjectProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnLaunch.MetricDefinitionObjectProperty>
CfnLaunch.MetricDefinitionObjectProperty| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnLaunch.MetricDefinitionObjectProperty |
build()
Builds the configured instance.
|
CfnLaunch.MetricDefinitionObjectProperty.Builder |
entityIdKey(String entityIdKey)
Sets the value of
CfnLaunch.MetricDefinitionObjectProperty.getEntityIdKey() |
CfnLaunch.MetricDefinitionObjectProperty.Builder |
eventPattern(String eventPattern)
Sets the value of
CfnLaunch.MetricDefinitionObjectProperty.getEventPattern() |
CfnLaunch.MetricDefinitionObjectProperty.Builder |
metricName(String metricName)
Sets the value of
CfnLaunch.MetricDefinitionObjectProperty.getMetricName() |
CfnLaunch.MetricDefinitionObjectProperty.Builder |
unitLabel(String unitLabel)
Sets the value of
CfnLaunch.MetricDefinitionObjectProperty.getUnitLabel() |
CfnLaunch.MetricDefinitionObjectProperty.Builder |
valueKey(String valueKey)
Sets the value of
CfnLaunch.MetricDefinitionObjectProperty.getValueKey() |
@Stability(value=Stable) public CfnLaunch.MetricDefinitionObjectProperty.Builder entityIdKey(String entityIdKey)
CfnLaunch.MetricDefinitionObjectProperty.getEntityIdKey()entityIdKey - `CfnLaunch.MetricDefinitionObjectProperty.EntityIdKey`. This parameter is required.this@Stability(value=Stable) public CfnLaunch.MetricDefinitionObjectProperty.Builder eventPattern(String eventPattern)
CfnLaunch.MetricDefinitionObjectProperty.getEventPattern()eventPattern - `CfnLaunch.MetricDefinitionObjectProperty.EventPattern`. This parameter is required.this@Stability(value=Stable) public CfnLaunch.MetricDefinitionObjectProperty.Builder metricName(String metricName)
CfnLaunch.MetricDefinitionObjectProperty.getMetricName()metricName - `CfnLaunch.MetricDefinitionObjectProperty.MetricName`. This parameter is required.this@Stability(value=Stable) public CfnLaunch.MetricDefinitionObjectProperty.Builder unitLabel(String unitLabel)
CfnLaunch.MetricDefinitionObjectProperty.getUnitLabel()unitLabel - `CfnLaunch.MetricDefinitionObjectProperty.UnitLabel`.this@Stability(value=Stable) public CfnLaunch.MetricDefinitionObjectProperty.Builder valueKey(String valueKey)
CfnLaunch.MetricDefinitionObjectProperty.getValueKey()valueKey - `CfnLaunch.MetricDefinitionObjectProperty.ValueKey`. This parameter is required.this@Stability(value=Stable) public CfnLaunch.MetricDefinitionObjectProperty build()
build in interface software.amazon.jsii.Builder<CfnLaunch.MetricDefinitionObjectProperty>CfnLaunch.MetricDefinitionObjectPropertyNullPointerException - if any required attribute was not providedCopyright © 2021. All rights reserved.