public static interface CreateFleetMetricRequest.Builder extends IotRequest.Builder, SdkPojo, CopyableBuilder<CreateFleetMetricRequest.Builder,CreateFleetMetricRequest>
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildCreateFleetMetricRequest.Builder metricName(String metricName)
The name of the fleet metric to create.
metricName - The name of the fleet metric to create.CreateFleetMetricRequest.Builder queryString(String queryString)
The search query string.
queryString - The search query string.CreateFleetMetricRequest.Builder aggregationType(AggregationType aggregationType)
The type of the aggregation query.
aggregationType - The type of the aggregation query.default CreateFleetMetricRequest.Builder aggregationType(Consumer<AggregationType.Builder> aggregationType)
The type of the aggregation query.
This is a convenience that creates an instance of theAggregationType.Builder avoiding the need to
create one manually via AggregationType.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to aggregationType(AggregationType).aggregationType - a consumer that will call methods on AggregationType.BuilderaggregationType(AggregationType)CreateFleetMetricRequest.Builder period(Integer period)
The time in seconds between fleet metric emissions. Range [60(1 min), 86400(1 day)] and must be multiple of 60.
period - The time in seconds between fleet metric emissions. Range [60(1 min), 86400(1 day)] and must be
multiple of 60.CreateFleetMetricRequest.Builder aggregationField(String aggregationField)
The field to aggregate.
aggregationField - The field to aggregate.CreateFleetMetricRequest.Builder description(String description)
The fleet metric description.
description - The fleet metric description.CreateFleetMetricRequest.Builder queryVersion(String queryVersion)
The query version.
queryVersion - The query version.CreateFleetMetricRequest.Builder indexName(String indexName)
The name of the index to search.
indexName - The name of the index to search.CreateFleetMetricRequest.Builder unit(String unit)
Used to support unit transformation such as milliseconds to seconds. The unit must be supported by CW metric. Default to null.
unit - Used to support unit transformation such as milliseconds to seconds. The unit must be supported by CW metric. Default to null.FleetMetricUnit,
FleetMetricUnitCreateFleetMetricRequest.Builder unit(FleetMetricUnit unit)
Used to support unit transformation such as milliseconds to seconds. The unit must be supported by CW metric. Default to null.
unit - Used to support unit transformation such as milliseconds to seconds. The unit must be supported by CW metric. Default to null.FleetMetricUnit,
FleetMetricUnitCreateFleetMetricRequest.Builder tags(Collection<Tag> tags)
Metadata, which can be used to manage the fleet metric.
tags - Metadata, which can be used to manage the fleet metric.CreateFleetMetricRequest.Builder tags(Tag... tags)
Metadata, which can be used to manage the fleet metric.
tags - Metadata, which can be used to manage the fleet metric.CreateFleetMetricRequest.Builder tags(Consumer<Tag.Builder>... tags)
Metadata, which can be used to manage the fleet metric.
This is a convenience that creates an instance of theList.Builder avoiding the need to create
one manually via List#builder() .
When the Consumer completes, List.Builder#build() is called immediately and its result
is passed to #tags(List) .tags - a consumer that will call methods on List.Builder #tags(List) CreateFleetMetricRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderCreateFleetMetricRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2022. All rights reserved.