@Generated(value="software.amazon.awssdk:codegen") public final class CurrentMetricSortCriteria extends Object implements SdkPojo, Serializable, ToCopyableBuilder<CurrentMetricSortCriteria.Builder,CurrentMetricSortCriteria>
The way to sort the resulting response based on metrics. By default resources are sorted based on
AGENTS_ONLINE, DESCENDING. The metric collection is sorted based on the input metrics.
| Modifier and Type | Class and Description |
|---|---|
static interface |
CurrentMetricSortCriteria.Builder |
| Modifier and Type | Method and Description |
|---|---|
static CurrentMetricSortCriteria.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends CurrentMetricSortCriteria.Builder> |
serializableBuilderClass() |
CurrentMetricName |
sortByMetric()
Returns the value of the SortByMetric property for this object.
|
String |
sortByMetricAsString()
Returns the value of the SortByMetric property for this object.
|
SortOrder |
sortOrder()
The way to sort.
|
String |
sortOrderAsString()
The way to sort.
|
CurrentMetricSortCriteria.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final CurrentMetricName sortByMetric()
If the service returns an enum value that is not available in the current SDK version, sortByMetric will
return CurrentMetricName.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
sortByMetricAsString().
CurrentMetricNamepublic final String sortByMetricAsString()
If the service returns an enum value that is not available in the current SDK version, sortByMetric will
return CurrentMetricName.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
sortByMetricAsString().
CurrentMetricNamepublic final SortOrder sortOrder()
The way to sort.
If the service returns an enum value that is not available in the current SDK version, sortOrder will
return SortOrder.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
sortOrderAsString().
SortOrderpublic final String sortOrderAsString()
The way to sort.
If the service returns an enum value that is not available in the current SDK version, sortOrder will
return SortOrder.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
sortOrderAsString().
SortOrderpublic CurrentMetricSortCriteria.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CurrentMetricSortCriteria.Builder,CurrentMetricSortCriteria>public static CurrentMetricSortCriteria.Builder builder()
public static Class<? extends CurrentMetricSortCriteria.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.