@Generated(value="software.amazon.awssdk:codegen") public final class DescribeFleetMetricResponse extends IotResponse implements ToCopyableBuilder<DescribeFleetMetricResponse.Builder,DescribeFleetMetricResponse>
Modifier and Type | Class and Description |
---|---|
static interface |
DescribeFleetMetricResponse.Builder |
Modifier and Type | Method and Description |
---|---|
String |
aggregationField()
The field to aggregate.
|
AggregationType |
aggregationType()
The type of the aggregation query.
|
static DescribeFleetMetricResponse.Builder |
builder() |
Instant |
creationDate()
The date when the fleet metric is created.
|
String |
description()
The fleet metric description.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
indexName()
The name of the index to search.
|
Instant |
lastModifiedDate()
The date when the fleet metric is last modified.
|
String |
metricArn()
The ARN of the fleet metric to describe.
|
String |
metricName()
The name of the fleet metric to describe.
|
Integer |
period()
The time in seconds between fleet metric emissions.
|
String |
queryString()
The search query string.
|
String |
queryVersion()
The query version.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends DescribeFleetMetricResponse.Builder> |
serializableBuilderClass() |
DescribeFleetMetricResponse.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
FleetMetricUnit |
unit()
Used to support unit transformation such as milliseconds to seconds.
|
String |
unitAsString()
Used to support unit transformation such as milliseconds to seconds.
|
Long |
version()
The version of the fleet metric.
|
responseMetadata
sdkHttpResponse
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public final String metricName()
The name of the fleet metric to describe.
public final String queryString()
The search query string.
public final AggregationType aggregationType()
The type of the aggregation query.
public final Integer period()
The time in seconds between fleet metric emissions. Range [60(1 min), 86400(1 day)] and must be multiple of 60.
public final String aggregationField()
The field to aggregate.
public final String description()
The fleet metric description.
public final String queryVersion()
The query version.
public final String indexName()
The name of the index to search.
public final Instant creationDate()
The date when the fleet metric is created.
public final Instant lastModifiedDate()
The date when the fleet metric is last modified.
public final FleetMetricUnit unit()
Used to support unit transformation such as milliseconds to seconds. The unit must be supported by CW metric.
If the service returns an enum value that is not available in the current SDK version, unit
will return
FleetMetricUnit.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
unitAsString()
.
FleetMetricUnit
public final String unitAsString()
Used to support unit transformation such as milliseconds to seconds. The unit must be supported by CW metric.
If the service returns an enum value that is not available in the current SDK version, unit
will return
FleetMetricUnit.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
unitAsString()
.
FleetMetricUnit
public final Long version()
The version of the fleet metric.
public final String metricArn()
The ARN of the fleet metric to describe.
public DescribeFleetMetricResponse.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<DescribeFleetMetricResponse.Builder,DescribeFleetMetricResponse>
toBuilder
in class AwsResponse
public static DescribeFleetMetricResponse.Builder builder()
public static Class<? extends DescribeFleetMetricResponse.Builder> serializableBuilderClass()
public final int hashCode()
hashCode
in class AwsResponse
public final boolean equals(Object obj)
equals
in class AwsResponse
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField
in class SdkResponse
Copyright © 2022. All rights reserved.