Class CurrentMetricSortCriteria
- java.lang.Object
-
- software.amazon.awssdk.services.connect.model.CurrentMetricSortCriteria
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<CurrentMetricSortCriteria.Builder,CurrentMetricSortCriteria>
@Generated("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.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceCurrentMetricSortCriteria.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CurrentMetricSortCriteria.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()static Class<? extends CurrentMetricSortCriteria.Builder>serializableBuilderClass()CurrentMetricNamesortByMetric()Returns the value of the SortByMetric property for this object.StringsortByMetricAsString()Returns the value of the SortByMetric property for this object.SortOrdersortOrder()The way to sort.StringsortOrderAsString()The way to sort.CurrentMetricSortCriteria.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
sortByMetric
public final CurrentMetricName sortByMetric()
Returns the value of the SortByMetric property for this object.If the service returns an enum value that is not available in the current SDK version,
sortByMetricwill returnCurrentMetricName.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromsortByMetricAsString().- Returns:
- The value of the SortByMetric property for this object.
- See Also:
CurrentMetricName
-
sortByMetricAsString
public final String sortByMetricAsString()
Returns the value of the SortByMetric property for this object.If the service returns an enum value that is not available in the current SDK version,
sortByMetricwill returnCurrentMetricName.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromsortByMetricAsString().- Returns:
- The value of the SortByMetric property for this object.
- See Also:
CurrentMetricName
-
sortOrder
public final SortOrder sortOrder()
The way to sort.
If the service returns an enum value that is not available in the current SDK version,
sortOrderwill returnSortOrder.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromsortOrderAsString().- Returns:
- The way to sort.
- See Also:
SortOrder
-
sortOrderAsString
public final String sortOrderAsString()
The way to sort.
If the service returns an enum value that is not available in the current SDK version,
sortOrderwill returnSortOrder.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromsortOrderAsString().- Returns:
- The way to sort.
- See Also:
SortOrder
-
toBuilder
public CurrentMetricSortCriteria.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<CurrentMetricSortCriteria.Builder,CurrentMetricSortCriteria>
-
builder
public static CurrentMetricSortCriteria.Builder builder()
-
serializableBuilderClass
public static Class<? extends CurrentMetricSortCriteria.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-