public static interface DescribeFleetMetricResponse.Builder extends IotResponse.Builder, SdkPojo, CopyableBuilder<DescribeFleetMetricResponse.Builder,DescribeFleetMetricResponse>
| Modifier and Type | Method and Description |
|---|---|
DescribeFleetMetricResponse.Builder |
aggregationField(String aggregationField)
The field to aggregate.
|
DescribeFleetMetricResponse.Builder |
aggregationType(AggregationType aggregationType)
The type of the aggregation query.
|
default DescribeFleetMetricResponse.Builder |
aggregationType(Consumer<AggregationType.Builder> aggregationType)
The type of the aggregation query.
|
DescribeFleetMetricResponse.Builder |
creationDate(Instant creationDate)
The date when the fleet metric is created.
|
DescribeFleetMetricResponse.Builder |
description(String description)
The fleet metric description.
|
DescribeFleetMetricResponse.Builder |
indexName(String indexName)
The name of the index to search.
|
DescribeFleetMetricResponse.Builder |
lastModifiedDate(Instant lastModifiedDate)
The date when the fleet metric is last modified.
|
DescribeFleetMetricResponse.Builder |
metricArn(String metricArn)
The ARN of the fleet metric to describe.
|
DescribeFleetMetricResponse.Builder |
metricName(String metricName)
The name of the fleet metric to describe.
|
DescribeFleetMetricResponse.Builder |
period(Integer period)
The time in seconds between fleet metric emissions.
|
DescribeFleetMetricResponse.Builder |
queryString(String queryString)
The search query string.
|
DescribeFleetMetricResponse.Builder |
queryVersion(String queryVersion)
The query version.
|
DescribeFleetMetricResponse.Builder |
unit(FleetMetricUnit unit)
Used to support unit transformation such as milliseconds to seconds.
|
DescribeFleetMetricResponse.Builder |
unit(String unit)
Used to support unit transformation such as milliseconds to seconds.
|
DescribeFleetMetricResponse.Builder |
version(Long version)
The version of the fleet metric.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildDescribeFleetMetricResponse.Builder metricName(String metricName)
The name of the fleet metric to describe.
metricName - The name of the fleet metric to describe.DescribeFleetMetricResponse.Builder queryString(String queryString)
The search query string.
queryString - The search query string.DescribeFleetMetricResponse.Builder aggregationType(AggregationType aggregationType)
The type of the aggregation query.
aggregationType - The type of the aggregation query.default DescribeFleetMetricResponse.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.BuilderaggregationType(AggregationType)DescribeFleetMetricResponse.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.DescribeFleetMetricResponse.Builder aggregationField(String aggregationField)
The field to aggregate.
aggregationField - The field to aggregate.DescribeFleetMetricResponse.Builder description(String description)
The fleet metric description.
description - The fleet metric description.DescribeFleetMetricResponse.Builder queryVersion(String queryVersion)
The query version.
queryVersion - The query version.DescribeFleetMetricResponse.Builder indexName(String indexName)
The name of the index to search.
indexName - The name of the index to search.DescribeFleetMetricResponse.Builder creationDate(Instant creationDate)
The date when the fleet metric is created.
creationDate - The date when the fleet metric is created.DescribeFleetMetricResponse.Builder lastModifiedDate(Instant lastModifiedDate)
The date when the fleet metric is last modified.
lastModifiedDate - The date when the fleet metric is last modified.DescribeFleetMetricResponse.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,
FleetMetricUnitDescribeFleetMetricResponse.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,
FleetMetricUnitDescribeFleetMetricResponse.Builder version(Long version)
The version of the fleet metric.
version - The version of the fleet metric.DescribeFleetMetricResponse.Builder metricArn(String metricArn)
The ARN of the fleet metric to describe.
metricArn - The ARN of the fleet metric to describe.Copyright © 2023. All rights reserved.