Interface SegmentSort.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<SegmentSort.Builder,,SegmentSort> SdkBuilder<SegmentSort.Builder,,SegmentSort> SdkPojo
- Enclosing class:
SegmentSort
@Mutable
@NotThreadSafe
public static interface SegmentSort.Builder
extends SdkPojo, CopyableBuilder<SegmentSort.Builder,SegmentSort>
-
Method Summary
Modifier and TypeMethodDescriptionattributes(Collection<SortAttribute> attributes) A list of attributes used to sort the segments and their ordering preferences.attributes(Consumer<SortAttribute.Builder>... attributes) A list of attributes used to sort the segments and their ordering preferences.attributes(SortAttribute... attributes) A list of attributes used to sort the segments and their ordering preferences.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, sdkFieldNameToField, sdkFields
-
Method Details
-
attributes
A list of attributes used to sort the segments and their ordering preferences.
- Parameters:
attributes- A list of attributes used to sort the segments and their ordering preferences.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attributes
A list of attributes used to sort the segments and their ordering preferences.
- Parameters:
attributes- A list of attributes used to sort the segments and their ordering preferences.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attributes
A list of attributes used to sort the segments and their ordering preferences.
This is a convenience method that creates an instance of theSortAttribute.Builderavoiding the need to create one manually viaSortAttribute.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toattributes(List<SortAttribute>).- Parameters:
attributes- a consumer that will call methods onSortAttribute.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-