@Stability(value=Experimental) public static final class SystemErrorsForOperationsMetricOptions.Builder extends Object implements software.amazon.jsii.Builder<SystemErrorsForOperationsMetricOptions>
SystemErrorsForOperationsMetricOptions| Constructor and Description |
|---|
Builder() |
@Stability(value=Experimental) public SystemErrorsForOperationsMetricOptions.Builder operations(List<? extends Operation> operations)
SystemErrorsForOperationsMetricOptions.getOperations()operations - The operations to apply the metric to.this@Stability(value=Experimental) public SystemErrorsForOperationsMetricOptions.Builder account(String account)
CommonMetricOptions.getAccount()account - Account which this metric comes from.this@Stability(value=Experimental) public SystemErrorsForOperationsMetricOptions.Builder color(String color)
CommonMetricOptions.getColor()color - The hex color code, prefixed with '#' (e.g. '#00ff00'), to use when this metric is rendered on a graph. The `Color` class has a set of standard colors that can be used here.this@Stability(value=Experimental) public SystemErrorsForOperationsMetricOptions.Builder dimensions(Map<String,? extends Object> dimensions)
CommonMetricOptions.getDimensions()dimensions - Dimensions of the metric.this@Stability(value=Experimental) public SystemErrorsForOperationsMetricOptions.Builder label(String label)
CommonMetricOptions.getLabel()label - Label for this metric when added to a Graph in a Dashboard.this@Stability(value=Experimental) public SystemErrorsForOperationsMetricOptions.Builder period(Duration period)
CommonMetricOptions.getPeriod()period - The period over which the specified statistic is applied.this@Stability(value=Experimental) public SystemErrorsForOperationsMetricOptions.Builder region(String region)
CommonMetricOptions.getRegion()region - Region which this metric comes from.this@Stability(value=Experimental) public SystemErrorsForOperationsMetricOptions.Builder statistic(String statistic)
CommonMetricOptions.getStatistic()statistic - What function to use for aggregating.
Can be one of the following:
this@Stability(value=Experimental) public SystemErrorsForOperationsMetricOptions.Builder unit(Unit unit)
CommonMetricOptions.getUnit()unit - Unit used to filter the metric stream.
Only refer to datums emitted to the metric stream with the given unit and
ignore all others. Only useful when datums are being emitted to the same
metric stream under different units.
The default is to use all matric datums in the stream, regardless of unit, which is recommended in nearly all cases.
CloudWatch does not honor this property for graphs.
this@Stability(value=Experimental) public SystemErrorsForOperationsMetricOptions build()
build in interface software.amazon.jsii.Builder<SystemErrorsForOperationsMetricOptions>SystemErrorsForOperationsMetricOptionsNullPointerException - if any required attribute was not providedCopyright © 2021. All rights reserved.