@Generated(value="software.amazon.awssdk:codegen") public final class SearchResourcesSortCriteria extends Object implements SdkPojo, Serializable, ToCopyableBuilder<SearchResourcesSortCriteria.Builder,SearchResourcesSortCriteria>
Specifies criteria for sorting the results of a query for information about Amazon Web Services resources that Amazon Macie monitors and analyzes.
| Modifier and Type | Class and Description |
|---|---|
static interface |
SearchResourcesSortCriteria.Builder |
| Modifier and Type | Method and Description |
|---|---|
SearchResourcesSortAttributeName |
attributeName()
The property to sort the results by.
|
String |
attributeNameAsString()
The property to sort the results by.
|
static SearchResourcesSortCriteria.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 SearchResourcesSortCriteria.Builder> |
serializableBuilderClass() |
SearchResourcesSortCriteria.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final SearchResourcesSortAttributeName attributeName()
The property to sort the results by.
If the service returns an enum value that is not available in the current SDK version, attributeName
will return SearchResourcesSortAttributeName.UNKNOWN_TO_SDK_VERSION. The raw value returned by the
service is available from attributeNameAsString().
SearchResourcesSortAttributeNamepublic final String attributeNameAsString()
The property to sort the results by.
If the service returns an enum value that is not available in the current SDK version, attributeName
will return SearchResourcesSortAttributeName.UNKNOWN_TO_SDK_VERSION. The raw value returned by the
service is available from attributeNameAsString().
SearchResourcesSortAttributeNamepublic 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 SearchResourcesSortCriteria.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<SearchResourcesSortCriteria.Builder,SearchResourcesSortCriteria>public static SearchResourcesSortCriteria.Builder builder()
public static Class<? extends SearchResourcesSortCriteria.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.