@Stability(value=Stable) public static final class CfnFleetMetricProps.Builder extends Object implements software.amazon.jsii.Builder<CfnFleetMetricProps>
CfnFleetMetricProps| Constructor and Description |
|---|
Builder() |
@Stability(value=Stable) public CfnFleetMetricProps.Builder metricName(String metricName)
CfnFleetMetricProps.getMetricName()metricName - The name of the fleet metric to create. This parameter is required.this@Stability(value=Stable) public CfnFleetMetricProps.Builder aggregationField(String aggregationField)
CfnFleetMetricProps.getAggregationField()aggregationField - The field to aggregate.this@Stability(value=Stable) public CfnFleetMetricProps.Builder aggregationType(CfnFleetMetric.AggregationTypeProperty aggregationType)
CfnFleetMetricProps.getAggregationType()aggregationType - The type of the aggregation query.this@Stability(value=Stable) public CfnFleetMetricProps.Builder aggregationType(IResolvable aggregationType)
CfnFleetMetricProps.getAggregationType()aggregationType - The type of the aggregation query.this@Stability(value=Stable) public CfnFleetMetricProps.Builder description(String description)
CfnFleetMetricProps.getDescription()description - The fleet metric description.this@Stability(value=Stable) public CfnFleetMetricProps.Builder indexName(String indexName)
CfnFleetMetricProps.getIndexName()indexName - The name of the index to search.this@Stability(value=Stable) public CfnFleetMetricProps.Builder period(Number period)
CfnFleetMetricProps.getPeriod()period - The time in seconds between fleet metric emissions.
Range [60(1 min), 86400(1 day)] and must be multiple of 60.this@Stability(value=Stable) public CfnFleetMetricProps.Builder queryString(String queryString)
CfnFleetMetricProps.getQueryString()queryString - The search query string.this@Stability(value=Stable) public CfnFleetMetricProps.Builder queryVersion(String queryVersion)
CfnFleetMetricProps.getQueryVersion()queryVersion - The query version.this@Stability(value=Stable) public CfnFleetMetricProps.Builder tags(List<? extends CfnTag> tags)
CfnFleetMetricProps.getTags()tags - Metadata which can be used to manage the fleet metric.this@Stability(value=Stable) public CfnFleetMetricProps.Builder unit(String unit)
CfnFleetMetricProps.getUnit()unit - Used to support unit transformation such as milliseconds to seconds.
Must be a unit supported by CW metric. Default to null.this@Stability(value=Stable) public CfnFleetMetricProps build()
build in interface software.amazon.jsii.Builder<CfnFleetMetricProps>CfnFleetMetricPropsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.