Interface SortCriterion.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<SortCriterion.Builder,SortCriterion>,SdkBuilder<SortCriterion.Builder,SortCriterion>,SdkPojo
- Enclosing class:
- SortCriterion
public static interface SortCriterion.Builder extends SdkPojo, CopyableBuilder<SortCriterion.Builder,SortCriterion>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SortCriterion.BuilderfieldName(String fieldName)The name of the field on which to sort.SortCriterion.Buildersort(String sort)An ascending or descending sort.SortCriterion.Buildersort(Sort sort)An ascending or descending sort.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
fieldName
SortCriterion.Builder fieldName(String fieldName)
The name of the field on which to sort.
- Parameters:
fieldName- The name of the field on which to sort.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sort
SortCriterion.Builder sort(String sort)
An ascending or descending sort.
-
sort
SortCriterion.Builder sort(Sort sort)
An ascending or descending sort.
-
-