Interface SearchSortExpression.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<SearchSortExpression.Builder,
,SearchSortExpression> SdkBuilder<SearchSortExpression.Builder,
,SearchSortExpression> SdkPojo
- Enclosing class:
SearchSortExpression
public static interface SearchSortExpression.Builder
extends SdkPojo, CopyableBuilder<SearchSortExpression.Builder,SearchSortExpression>
-
Method Summary
Modifier and TypeMethodDescriptiondefault SearchSortExpression.Builder
fieldSort
(Consumer<FieldSortExpression.Builder> fieldSort) Options for sorting by a field.fieldSort
(FieldSortExpression fieldSort) Options for sorting by a field.default SearchSortExpression.Builder
parameterSort
(Consumer<ParameterSortExpression.Builder> parameterSort) Options for sorting by a parameter.parameterSort
(ParameterSortExpression parameterSort) Options for sorting by a parameter.default SearchSortExpression.Builder
userJobsFirst
(Consumer<UserJobsFirst.Builder> userJobsFirst) Options for sorting a particular user's jobs first.userJobsFirst
(UserJobsFirst userJobsFirst) Options for sorting a particular user's jobs first.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 Details
-
fieldSort
Options for sorting by a field.
- Parameters:
fieldSort
- Options for sorting by a field.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fieldSort
Options for sorting by a field.
This is a convenience method that creates an instance of theFieldSortExpression.Builder
avoiding the need to create one manually viaFieldSortExpression.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tofieldSort(FieldSortExpression)
.- Parameters:
fieldSort
- a consumer that will call methods onFieldSortExpression.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
parameterSort
Options for sorting by a parameter.
- Parameters:
parameterSort
- Options for sorting by a parameter.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
parameterSort
default SearchSortExpression.Builder parameterSort(Consumer<ParameterSortExpression.Builder> parameterSort) Options for sorting by a parameter.
This is a convenience method that creates an instance of theParameterSortExpression.Builder
avoiding the need to create one manually viaParameterSortExpression.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toparameterSort(ParameterSortExpression)
.- Parameters:
parameterSort
- a consumer that will call methods onParameterSortExpression.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
userJobsFirst
Options for sorting a particular user's jobs first.
- Parameters:
userJobsFirst
- Options for sorting a particular user's jobs first.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
userJobsFirst
Options for sorting a particular user's jobs first.
This is a convenience method that creates an instance of theUserJobsFirst.Builder
avoiding the need to create one manually viaUserJobsFirst.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed touserJobsFirst(UserJobsFirst)
.- Parameters:
userJobsFirst
- a consumer that will call methods onUserJobsFirst.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-