@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 - The type of the custom metric. This parameter is required.
Types include string-list , ip-address-list , number-list , and number .this@Stability(value=Stable) public CfnCustomMetricProps.Builder displayName(String displayName)
CfnCustomMetricProps.getDisplayName()displayName - Field that represents a friendly name in the console for the custom metric;.
it doesn't have to be unique. Don't use this name as the metric identifier in the device metric report. Can be updated.this@Stability(value=Stable) public CfnCustomMetricProps.Builder metricName(String metricName)
CfnCustomMetricProps.getMetricName()metricName - The name of the custom metric.
This will be used in the metric report submitted from the device/thing. It shouldn't begin with aws: . Cannot be updated once it's defined.this@Stability(value=Stable) public CfnCustomMetricProps.Builder tags(List<? extends CfnTag> tags)
CfnCustomMetricProps.getTags()tags - Metadata that can be used to manage the custom metric.this@Stability(value=Stable) public CfnCustomMetricProps build()
build in interface software.amazon.jsii.Builder<CfnCustomMetricProps>CfnCustomMetricPropsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.