Class Sort
- java.lang.Object
-
- software.amazon.awssdk.services.resiliencehub.model.Sort
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<Sort.Builder,Sort>
@Generated("software.amazon.awssdk:codegen") public final class Sort extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Sort.Builder,Sort>
Indicates the sorting order of the fields in the metrics.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceSort.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Booleanascending()Indicates the name or identifier of the field or attribute that should be used as the basis for sorting the metrics.static Sort.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)Stringfield()Indicates the order in which you want to sort the metrics.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends Sort.Builder>serializableBuilderClass()Sort.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
-
ascending
public final Boolean ascending()
Indicates the name or identifier of the field or attribute that should be used as the basis for sorting the metrics.
- Returns:
- Indicates the name or identifier of the field or attribute that should be used as the basis for sorting the metrics.
-
field
public final String field()
Indicates the order in which you want to sort the metrics. By default, the list is sorted in ascending order. To sort the list in descending order, set this field to False.
- Returns:
- Indicates the order in which you want to sort the metrics. By default, the list is sorted in ascending order. To sort the list in descending order, set this field to False.
-
toBuilder
public Sort.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<Sort.Builder,Sort>
-
builder
public static Sort.Builder builder()
-
serializableBuilderClass
public static Class<? extends Sort.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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-