Interface Sort.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Sort.Builder,Sort>,SdkBuilder<Sort.Builder,Sort>,SdkPojo
- Enclosing class:
- Sort
public static interface Sort.Builder extends SdkPojo, CopyableBuilder<Sort.Builder,Sort>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Sort.BuilderfieldName(String fieldName)The name of the field on which to sort.Sort.BuilderfieldName(SortableFieldName fieldName)The name of the field on which to sort.Sort.Builderorder(String order)An ascending or descending sort.Sort.Builderorder(SortOrder order)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, sdkFields
-
-
-
-
Method Detail
-
fieldName
Sort.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.
- See Also:
SortableFieldName,SortableFieldName
-
fieldName
Sort.Builder fieldName(SortableFieldName 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.
- See Also:
SortableFieldName,SortableFieldName
-
order
Sort.Builder order(String order)
An ascending or descending sort.
-
order
Sort.Builder order(SortOrder order)
An ascending or descending sort.
-
-