Class SortObject
- java.lang.Object
-
- software.amazon.awssdk.services.partnercentralselling.model.SortObject
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<SortObject.Builder,SortObject>
@Generated("software.amazon.awssdk:codegen") public final class SortObject extends Object implements SdkPojo, Serializable, ToCopyableBuilder<SortObject.Builder,SortObject>
Defines the sorting parameters for listing resource snapshot jobs. This structure allows you to specify 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 interfaceSortObject.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SortObject.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 SortObject.Builder>serializableBuilderClass()SortBysortBy()Specifies the field by which to sort the resource snapshot jobs.StringsortByAsString()Specifies the field by which to sort the resource snapshot jobs.SortOrdersortOrder()Determines the order in which the sorted results are presented.StringsortOrderAsString()Determines the order in which the sorted results are presented.SortObject.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 SortBy sortBy()
Specifies the field by which to sort the resource snapshot jobs.
If the service returns an enum value that is not available in the current SDK version,
sortBywill returnSortBy.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromsortByAsString().- Returns:
- Specifies the field by which to sort the resource snapshot jobs.
- See Also:
SortBy
-
sortByAsString
public final String sortByAsString()
Specifies the field by which to sort the resource snapshot jobs.
If the service returns an enum value that is not available in the current SDK version,
sortBywill returnSortBy.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromsortByAsString().- Returns:
- Specifies the field by which to sort the resource snapshot jobs.
- See Also:
SortBy
-
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 SortObject.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<SortObject.Builder,SortObject>
-
builder
public static SortObject.Builder builder()
-
serializableBuilderClass
public static Class<? extends SortObject.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
-
-