@Stability(value=Stable) public static final class CfnCustomMetric.Builder extends Object implements software.amazon.jsii.Builder<CfnCustomMetric>
CfnCustomMetric.| Modifier and Type | Method and Description |
|---|---|
CfnCustomMetric |
build() |
static CfnCustomMetric.Builder |
create(Construct scope,
String id) |
CfnCustomMetric.Builder |
displayName(String displayName)
Field that represents a friendly name in the console for the custom metric;
|
CfnCustomMetric.Builder |
metricName(String metricName)
The name of the custom metric.
|
CfnCustomMetric.Builder |
metricType(String metricType)
The type of the custom metric.
|
CfnCustomMetric.Builder |
tags(List<? extends CfnTag> tags)
Metadata that can be used to manage the custom metric.
|
@Stability(value=Stable) public static CfnCustomMetric.Builder create(Construct scope, String id)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.CfnCustomMetric.Builder.@Stability(value=Stable) public CfnCustomMetric.Builder metricType(String metricType)
Types include string-list , ip-address-list , number-list , and number .
metricType - The type of the custom metric. This parameter is required.this@Stability(value=Stable) public CfnCustomMetric.Builder displayName(String displayName)
it doesn't have to be unique. Don't use this name as the metric identifier in the device metric report. Can be updated.
displayName - Field that represents a friendly name in the console for the custom metric;. This parameter is required.this@Stability(value=Stable) public CfnCustomMetric.Builder metricName(String metricName)
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.
metricName - The name of the custom metric. This parameter is required.this@Stability(value=Stable) public CfnCustomMetric.Builder tags(List<? extends CfnTag> tags)
tags - Metadata that can be used to manage the custom metric. This parameter is required.this@Stability(value=Stable) public CfnCustomMetric build()
build in interface software.amazon.jsii.Builder<CfnCustomMetric>Copyright © 2022. All rights reserved.