Class EngagementSort
- java.lang.Object
-
- software.amazon.awssdk.services.partnercentralselling.model.EngagementSort
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<EngagementSort.Builder,EngagementSort>
@Generated("software.amazon.awssdk:codegen") public final class EngagementSort extends Object implements SdkPojo, Serializable, ToCopyableBuilder<EngagementSort.Builder,EngagementSort>
Specifies the sorting parameters for listing Engagements.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceEngagementSort.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static EngagementSort.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 EngagementSort.Builder>serializableBuilderClass()EngagementSortNamesortBy()The field by which to sort the results.StringsortByAsString()The field by which to sort the results.SortOrdersortOrder()The order in which to sort the results.StringsortOrderAsString()The order in which to sort the results.EngagementSort.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 EngagementSortName sortBy()
The field by which to sort the results.
If the service returns an enum value that is not available in the current SDK version,
sortBywill returnEngagementSortName.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromsortByAsString().- Returns:
- The field by which to sort the results.
- See Also:
EngagementSortName
-
sortByAsString
public final String sortByAsString()
The field by which to sort the results.
If the service returns an enum value that is not available in the current SDK version,
sortBywill returnEngagementSortName.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromsortByAsString().- Returns:
- The field by which to sort the results.
- See Also:
EngagementSortName
-
sortOrder
public final SortOrder sortOrder()
The order in which to sort the results.
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 order in which to sort the results.
- See Also:
SortOrder
-
sortOrderAsString
public final String sortOrderAsString()
The order in which to sort the results.
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 order in which to sort the results.
- See Also:
SortOrder
-
toBuilder
public EngagementSort.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<EngagementSort.Builder,EngagementSort>
-
builder
public static EngagementSort.Builder builder()
-
serializableBuilderClass
public static Class<? extends EngagementSort.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
-
-