Class SortCondition
- java.lang.Object
-
- software.amazon.awssdk.services.route53domains.model.SortCondition
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<SortCondition.Builder,SortCondition>
@Generated("software.amazon.awssdk:codegen") public final class SortCondition extends Object implements SdkPojo, Serializable, ToCopyableBuilder<SortCondition.Builder,SortCondition>
Information for sorting a list of domains.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceSortCondition.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SortCondition.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()ListDomainsAttributeNamename()Field to be used for sorting the list of domains.StringnameAsString()Field to be used for sorting the list of domains.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends SortCondition.Builder>serializableBuilderClass()SortOrdersortOrder()The sort order for a list of domains.StringsortOrderAsString()The sort order for a list of domains.SortCondition.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
-
name
public 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
filterConditionis 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,
namewill returnListDomainsAttributeName.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromnameAsString().- Returns:
- 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
filterConditionis used in the same ListDomains call, the field used for sorting has to be the same as the field used for filtering. - See Also:
ListDomainsAttributeName
-
nameAsString
public 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
filterConditionis 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,
namewill returnListDomainsAttributeName.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromnameAsString().- Returns:
- 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
filterConditionis used in the same ListDomains call, the field used for sorting has to be the same as the field used for filtering. - See Also:
ListDomainsAttributeName
-
sortOrder
public 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,
sortOrderwill returnSortOrder.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromsortOrderAsString().- Returns:
- The sort order for a list of domains. Either ascending (ASC) or descending (DES).
- See Also:
SortOrder
-
sortOrderAsString
public 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,
sortOrderwill returnSortOrder.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromsortOrderAsString().- Returns:
- The sort order for a list of domains. Either ascending (ASC) or descending (DES).
- See Also:
SortOrder
-
toBuilder
public SortCondition.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<SortCondition.Builder,SortCondition>
-
builder
public static SortCondition.Builder builder()
-
serializableBuilderClass
public static Class<? extends SortCondition.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
-
-