Class ExportSortBy
- java.lang.Object
-
- software.amazon.awssdk.services.lexmodelsv2.model.ExportSortBy
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ExportSortBy.Builder,ExportSortBy>
@Generated("software.amazon.awssdk:codegen") public final class ExportSortBy extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ExportSortBy.Builder,ExportSortBy>
Provides information about sorting a list of exports.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceExportSortBy.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ExportSortAttributeattribute()The export field to use for sorting.StringattributeAsString()The export field to use for sorting.static ExportSortBy.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()SortOrderorder()The order to sort the list.StringorderAsString()The order to sort the list.List<SdkField<?>>sdkFields()static Class<? extends ExportSortBy.Builder>serializableBuilderClass()ExportSortBy.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
-
attribute
public final ExportSortAttribute attribute()
The export field to use for sorting.
If the service returns an enum value that is not available in the current SDK version,
attributewill returnExportSortAttribute.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromattributeAsString().- Returns:
- The export field to use for sorting.
- See Also:
ExportSortAttribute
-
attributeAsString
public final String attributeAsString()
The export field to use for sorting.
If the service returns an enum value that is not available in the current SDK version,
attributewill returnExportSortAttribute.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromattributeAsString().- Returns:
- The export field to use for sorting.
- See Also:
ExportSortAttribute
-
order
public final SortOrder order()
The order to sort the list.
If the service returns an enum value that is not available in the current SDK version,
orderwill returnSortOrder.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromorderAsString().- Returns:
- The order to sort the list.
- See Also:
SortOrder
-
orderAsString
public final String orderAsString()
The order to sort the list.
If the service returns an enum value that is not available in the current SDK version,
orderwill returnSortOrder.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromorderAsString().- Returns:
- The order to sort the list.
- See Also:
SortOrder
-
toBuilder
public ExportSortBy.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ExportSortBy.Builder,ExportSortBy>
-
builder
public static ExportSortBy.Builder builder()
-
serializableBuilderClass
public static Class<? extends ExportSortBy.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.
-
-