public static interface UpdateFleetMetricRequest.Builder extends IotRequest.Builder, SdkPojo, CopyableBuilder<UpdateFleetMetricRequest.Builder,UpdateFleetMetricRequest>
build
overrideConfiguration
equalsBySdkFields, sdkFields
copy
applyMutation, build
UpdateFleetMetricRequest.Builder metricName(String metricName)
The name of the fleet metric to update.
metricName
- The name of the fleet metric to update.UpdateFleetMetricRequest.Builder queryString(String queryString)
The search query string.
queryString
- The search query string.UpdateFleetMetricRequest.Builder aggregationType(AggregationType aggregationType)
The type of the aggregation query.
aggregationType
- The type of the aggregation query.default UpdateFleetMetricRequest.Builder aggregationType(Consumer<AggregationType.Builder> aggregationType)
The type of the aggregation query.
This is a convenience method 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.Builder
aggregationType(AggregationType)
UpdateFleetMetricRequest.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.UpdateFleetMetricRequest.Builder aggregationField(String aggregationField)
The field to aggregate.
aggregationField
- The field to aggregate.UpdateFleetMetricRequest.Builder description(String description)
The description of the fleet metric.
description
- The description of the fleet metric.UpdateFleetMetricRequest.Builder queryVersion(String queryVersion)
The version of the query.
queryVersion
- The version of the query.UpdateFleetMetricRequest.Builder indexName(String indexName)
The name of the index to search.
indexName
- The name of the index to search.UpdateFleetMetricRequest.Builder unit(String unit)
Used to support unit transformation such as milliseconds to seconds. The unit must be supported by CW metric.
unit
- Used to support unit transformation such as milliseconds to seconds. The unit must be supported by CW
metric.FleetMetricUnit
,
FleetMetricUnit
UpdateFleetMetricRequest.Builder unit(FleetMetricUnit unit)
Used to support unit transformation such as milliseconds to seconds. The unit must be supported by CW metric.
unit
- Used to support unit transformation such as milliseconds to seconds. The unit must be supported by CW
metric.FleetMetricUnit
,
FleetMetricUnit
UpdateFleetMetricRequest.Builder expectedVersion(Long expectedVersion)
The expected version of the fleet metric record in the registry.
expectedVersion
- The expected version of the fleet metric record in the registry.UpdateFleetMetricRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration
in interface AwsRequest.Builder
UpdateFleetMetricRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration
in interface AwsRequest.Builder
Copyright © 2023. All rights reserved.