@Stability(value=Stable) public static final class CfnCustomMetricProps.Builder extends Object implements software.amazon.jsii.Builder<CfnCustomMetricProps>
CfnCustomMetricProps
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnCustomMetricProps |
build()
Builds the configured instance.
|
CfnCustomMetricProps.Builder |
displayName(String displayName)
Sets the value of
CfnCustomMetricProps.getDisplayName() |
CfnCustomMetricProps.Builder |
metricName(String metricName)
Sets the value of
CfnCustomMetricProps.getMetricName() |
CfnCustomMetricProps.Builder |
metricType(String metricType)
Sets the value of
CfnCustomMetricProps.getMetricType() |
CfnCustomMetricProps.Builder |
tags(List<? extends CfnTag> tags)
Sets the value of
CfnCustomMetricProps.getTags() |
@Stability(value=Stable) public CfnCustomMetricProps.Builder metricType(String metricType)
CfnCustomMetricProps.getMetricType()
metricType
- `AWS::IoT::CustomMetric.MetricType`. This parameter is required.this
@Stability(value=Stable) public CfnCustomMetricProps.Builder displayName(String displayName)
CfnCustomMetricProps.getDisplayName()
displayName
- `AWS::IoT::CustomMetric.DisplayName`.this
@Stability(value=Stable) public CfnCustomMetricProps.Builder metricName(String metricName)
CfnCustomMetricProps.getMetricName()
metricName
- `AWS::IoT::CustomMetric.MetricName`.this
@Stability(value=Stable) public CfnCustomMetricProps.Builder tags(List<? extends CfnTag> tags)
CfnCustomMetricProps.getTags()
tags
- `AWS::IoT::CustomMetric.Tags`.this
@Stability(value=Stable) public CfnCustomMetricProps build()
build
in interface software.amazon.jsii.Builder<CfnCustomMetricProps>
CfnCustomMetricProps
NullPointerException
- if any required attribute was not providedCopyright © 2021. All rights reserved.