Class ListTasksSortBase
- java.lang.Object
-
- software.amazon.awssdk.services.partnercentralselling.model.ListTasksSortBase
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ListTasksSortBase.Builder,ListTasksSortBase>
@Generated("software.amazon.awssdk:codegen") public final class ListTasksSortBase extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ListTasksSortBase.Builder,ListTasksSortBase>
Defines the sorting parameters for listing tasks. This structure allows for specifying the field to sort by and the order of sorting.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceListTasksSortBase.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ListTasksSortBase.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends ListTasksSortBase.Builder>serializableBuilderClass()ListTasksSortNamesortBy()Specifies the field by which the task list should be sorted.StringsortByAsString()Specifies the field by which the task list should be sorted.SortOrdersortOrder()Determines the order in which the sorted results are presented.StringsortOrderAsString()Determines the order in which the sorted results are presented.ListTasksSortBase.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
-
sortBy
public final ListTasksSortName sortBy()
Specifies the field by which the task list should be sorted.
If the service returns an enum value that is not available in the current SDK version,
sortBywill returnListTasksSortName.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromsortByAsString().- Returns:
- Specifies the field by which the task list should be sorted.
- See Also:
ListTasksSortName
-
sortByAsString
public final String sortByAsString()
Specifies the field by which the task list should be sorted.
If the service returns an enum value that is not available in the current SDK version,
sortBywill returnListTasksSortName.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromsortByAsString().- Returns:
- Specifies the field by which the task list should be sorted.
- See Also:
ListTasksSortName
-
sortOrder
public final SortOrder sortOrder()
Determines the order in which the sorted results are presented.
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:
- Determines the order in which the sorted results are presented.
- See Also:
SortOrder
-
sortOrderAsString
public final String sortOrderAsString()
Determines the order in which the sorted results are presented.
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:
- Determines the order in which the sorted results are presented.
- See Also:
SortOrder
-
toBuilder
public ListTasksSortBase.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ListTasksSortBase.Builder,ListTasksSortBase>
-
builder
public static ListTasksSortBase.Builder builder()
-
serializableBuilderClass
public static Class<? extends ListTasksSortBase.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
-
-