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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DataPathSort.Builderdirection(String direction)Determines the sort direction.DataPathSort.Builderdirection(SortDirection direction)Determines the sort direction.DataPathSort.BuildersortPaths(Collection<DataPathValue> sortPaths)The list of data paths that need to be sorted.DataPathSort.BuildersortPaths(Consumer<DataPathValue.Builder>... sortPaths)The list of data paths that need to be sorted.DataPathSort.BuildersortPaths(DataPathValue... sortPaths)The list of data paths that need to be sorted.-
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
-
direction
DataPathSort.Builder direction(String 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:
SortDirection,SortDirection
-
direction
DataPathSort.Builder direction(SortDirection 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:
SortDirection,SortDirection
-
sortPaths
DataPathSort.Builder sortPaths(Collection<DataPathValue> 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
DataPathSort.Builder sortPaths(DataPathValue... 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
DataPathSort.Builder sortPaths(Consumer<DataPathValue.Builder>... 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 to#sortPaths(List.) - 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:
#sortPaths(java.util.Collection)
-
-