Interface DataPathSort.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<DataPathSort.Builder,,DataPathSort> SdkBuilder<DataPathSort.Builder,,DataPathSort> SdkPojo
- Enclosing class:
DataPathSort
public static interface DataPathSort.Builder
extends SdkPojo, CopyableBuilder<DataPathSort.Builder,DataPathSort>
-
Method Summary
Modifier and TypeMethodDescriptionDetermines the sort direction.direction(SortDirection direction) Determines the sort direction.sortPaths(Collection<DataPathValue> sortPaths) The list of data paths that need to be sorted.sortPaths(Consumer<DataPathValue.Builder>... sortPaths) The list of data paths that need to be sorted.sortPaths(DataPathValue... sortPaths) The list of data paths that need to be sorted.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
direction
Determines the sort direction.
- Parameters:
direction- Determines the sort direction.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
direction
Determines the sort direction.
- Parameters:
direction- Determines the sort direction.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
sortPaths
The list of data paths that need to be sorted.
- Parameters:
sortPaths- The list of data paths that need to be sorted.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sortPaths
The list of data paths that need to be sorted.
- Parameters:
sortPaths- The list of data paths that need to be sorted.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sortPaths
The list of data paths that need to be sorted.
This is a convenience method that creates an instance of theDataPathValue.Builderavoiding the need to create one manually viaDataPathValue.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosortPaths(List<DataPathValue>).- Parameters:
sortPaths- a consumer that will call methods onDataPathValue.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-