@Generated(value="software.amazon.awssdk:codegen") public final class SortCriteria extends Object implements SdkPojo, Serializable, ToCopyableBuilder<SortCriteria.Builder,SortCriteria>
Details about the criteria used to sort finding results.
| Modifier and Type | Class and Description |
|---|---|
static interface |
SortCriteria.Builder |
| Modifier and Type | Method and Description |
|---|---|
static SortCriteria.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
SortField |
field()
The finding detail field by which results are sorted.
|
String |
fieldAsString()
The finding detail field by which results are sorted.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends SortCriteria.Builder> |
serializableBuilderClass() |
SortOrder |
sortOrder()
The order by which findings are sorted.
|
String |
sortOrderAsString()
The order by which findings are sorted.
|
SortCriteria.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final SortField field()
The finding detail field by which results are sorted.
If the service returns an enum value that is not available in the current SDK version, field will return
SortField.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
fieldAsString().
SortFieldpublic final String fieldAsString()
The finding detail field by which results are sorted.
If the service returns an enum value that is not available in the current SDK version, field will return
SortField.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
fieldAsString().
SortFieldpublic final SortOrder sortOrder()
The order by which findings are sorted.
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 order by which findings are sorted.
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 SortCriteria.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<SortCriteria.Builder,SortCriteria>public static SortCriteria.Builder builder()
public static Class<? extends SortCriteria.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.