Interface DescribeFleetMetricResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeFleetMetricResponse.Builder,
,DescribeFleetMetricResponse> IotResponse.Builder
,SdkBuilder<DescribeFleetMetricResponse.Builder,
,DescribeFleetMetricResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DescribeFleetMetricResponse
-
Method Summary
Modifier and TypeMethodDescriptionaggregationField
(String aggregationField) The field to aggregate.aggregationType
(Consumer<AggregationType.Builder> aggregationType) The type of the aggregation query.aggregationType
(AggregationType aggregationType) The type of the aggregation query.creationDate
(Instant creationDate) The date when the fleet metric is created.description
(String description) The fleet metric description.The name of the index to search.lastModifiedDate
(Instant lastModifiedDate) The date when the fleet metric is last modified.The ARN of the fleet metric to describe.metricName
(String metricName) The name of the fleet metric to describe.The time in seconds between fleet metric emissions.queryString
(String queryString) The search query string.queryVersion
(String queryVersion) The query version.Used to support unit transformation such as milliseconds to seconds.unit
(FleetMetricUnit unit) Used to support unit transformation such as milliseconds to seconds.The version of the fleet metric.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.iot.model.IotResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
metricName
The name of the fleet metric to describe.
- Parameters:
metricName
- The name of the fleet metric to describe.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
queryString
The search query string.
- Parameters:
queryString
- The search query string.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
aggregationType
The type of the aggregation query.
- Parameters:
aggregationType
- The type of the aggregation query.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
aggregationType
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 viaAggregationType.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toaggregationType(AggregationType)
.- Parameters:
aggregationType
- a consumer that will call methods onAggregationType.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
period
The time in seconds between fleet metric emissions. Range [60(1 min), 86400(1 day)] and must be multiple of 60.
- Parameters:
period
- The time in seconds between fleet metric emissions. Range [60(1 min), 86400(1 day)] and must be multiple of 60.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
aggregationField
The field to aggregate.
- Parameters:
aggregationField
- The field to aggregate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
The fleet metric description.
- Parameters:
description
- The fleet metric description.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
queryVersion
The query version.
- Parameters:
queryVersion
- The query version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
indexName
The name of the index to search.
- Parameters:
indexName
- The name of the index to search.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
creationDate
The date when the fleet metric is created.
- Parameters:
creationDate
- The date when the fleet metric is created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastModifiedDate
The date when the fleet metric is last modified.
- Parameters:
lastModifiedDate
- The date when the fleet metric is last modified.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
unit
Used to support unit transformation such as milliseconds to seconds. The unit must be supported by CW metric.
- Parameters:
unit
- Used to support unit transformation such as milliseconds to seconds. The unit must be supported by CW metric.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
unit
Used to support unit transformation such as milliseconds to seconds. The unit must be supported by CW metric.
- Parameters:
unit
- Used to support unit transformation such as milliseconds to seconds. The unit must be supported by CW metric.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
version
The version of the fleet metric.
- Parameters:
version
- The version of the fleet metric.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metricArn
The ARN of the fleet metric to describe.
- Parameters:
metricArn
- The ARN of the fleet metric to describe.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-