@Generated(value="software.amazon.awssdk:codegen") public final class SortCriteria extends Object implements SdkPojo, Serializable, ToCopyableBuilder<SortCriteria.Builder,SortCriteria>
Specifies criteria for sorting the results of a request for findings.
| Modifier and Type | Class and Description |
|---|---|
static interface |
SortCriteria.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
attributeName()
The name of the property to sort the results by.
|
static SortCriteria.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
OrderBy |
orderBy()
The sort order to apply to the results, based on the value for the property specified by the attributeName
property.
|
String |
orderByAsString()
The sort order to apply to the results, based on the value for the property specified by the attributeName
property.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends SortCriteria.Builder> |
serializableBuilderClass() |
SortCriteria.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String attributeName()
The name of the property to sort the results by. This value can be the name of any property that Amazon Macie defines for a finding.
public final OrderBy orderBy()
The sort order to apply to the results, based on the value for the property specified by the attributeName property. Valid values are: ASC, sort the results in ascending order; and, DESC, sort the results in descending order.
If the service returns an enum value that is not available in the current SDK version, orderBy will
return OrderBy.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
orderByAsString().
OrderBypublic final String orderByAsString()
The sort order to apply to the results, based on the value for the property specified by the attributeName property. Valid values are: ASC, sort the results in ascending order; and, DESC, sort the results in descending order.
If the service returns an enum value that is not available in the current SDK version, orderBy will
return OrderBy.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
orderByAsString().
OrderBypublic 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.