@Generated(value="jsii-pacmak/1.73.0 (build 6faeda3)", date="2023-01-31T18:36:51.304Z") @Stability(value=Stable) public interface MetricProps extends software.amazon.jsii.JsiiSerializable, CommonMetricOptions
Example:
HostedZone hostedZone = HostedZone.Builder.create(this, "MyHostedZone").zoneName("example.org").build();
Metric metric = Metric.Builder.create()
.namespace("AWS/Route53")
.metricName("DNSQueries")
.dimensionsMap(Map.of(
"HostedZoneId", hostedZone.getHostedZoneId()))
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
MetricProps.Builder
A builder for
MetricProps |
static class |
MetricProps.Jsii$Proxy
An implementation for
MetricProps |
| Modifier and Type | Method and Description |
|---|---|
static MetricProps.Builder |
builder() |
String |
getMetricName()
Name of the metric.
|
String |
getNamespace()
Namespace of the metric.
|
getAccount, getColor, getDimensions, getDimensionsMap, getLabel, getPeriod, getRegion, getStatistic, getUnit@Stability(value=Stable) @NotNull String getMetricName()
@Stability(value=Stable) @NotNull String getNamespace()
@Stability(value=Stable) static MetricProps.Builder builder()
builder in interface CommonMetricOptionsMetricProps.Builder of MetricPropsCopyright © 2023. All rights reserved.