@Generated(value="software.amazon.awssdk:codegen") public final class SortCondition extends Object implements SdkPojo, Serializable, ToCopyableBuilder<SortCondition.Builder,SortCondition>
Information for sorting a list of domains.
| Modifier and Type | Class and Description |
|---|---|
static interface |
SortCondition.Builder |
| Modifier and Type | Method and Description |
|---|---|
static SortCondition.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
ListDomainsAttributeName |
name()
Field to be used for sorting the list of domains.
|
String |
nameAsString()
Field to be used for sorting the list of domains.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends SortCondition.Builder> |
serializableBuilderClass() |
SortOrder |
sortOrder()
The sort order for a list of domains.
|
String |
sortOrderAsString()
The sort order for a list of domains.
|
SortCondition.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final ListDomainsAttributeName name()
Field to be used for sorting the list of domains. It can be either the name or the expiration for a domain. Note
that if filterCondition is used in the same ListDomains
call, the field used for sorting has to be the same as the field used for filtering.
If the service returns an enum value that is not available in the current SDK version, name will return
ListDomainsAttributeName.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
nameAsString().
filterCondition is used in the same ListDomains call, the field used for sorting has to be the same as the field used for filtering.ListDomainsAttributeNamepublic final String nameAsString()
Field to be used for sorting the list of domains. It can be either the name or the expiration for a domain. Note
that if filterCondition is used in the same ListDomains
call, the field used for sorting has to be the same as the field used for filtering.
If the service returns an enum value that is not available in the current SDK version, name will return
ListDomainsAttributeName.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
nameAsString().
filterCondition is used in the same ListDomains call, the field used for sorting has to be the same as the field used for filtering.ListDomainsAttributeNamepublic final SortOrder sortOrder()
The sort order for a list of domains. Either ascending (ASC) or descending (DES).
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 sort order for a list of domains. Either ascending (ASC) or descending (DES).
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 SortCondition.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<SortCondition.Builder,SortCondition>public static SortCondition.Builder builder()
public static Class<? extends SortCondition.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.