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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default SearchSortExpression.BuilderfieldSort(Consumer<FieldSortExpression.Builder> fieldSort)Options for sorting by a field.SearchSortExpression.BuilderfieldSort(FieldSortExpression fieldSort)Options for sorting by a field.default SearchSortExpression.BuilderparameterSort(Consumer<ParameterSortExpression.Builder> parameterSort)Options for sorting by a parameter.SearchSortExpression.BuilderparameterSort(ParameterSortExpression parameterSort)Options for sorting by a parameter.default SearchSortExpression.BuilderuserJobsFirst(Consumer<UserJobsFirst.Builder> userJobsFirst)Options for sorting a particular user's jobs first.SearchSortExpression.BuilderuserJobsFirst(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 Detail
-
fieldSort
SearchSortExpression.Builder fieldSort(FieldSortExpression 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
default SearchSortExpression.Builder fieldSort(Consumer<FieldSortExpression.Builder> fieldSort)
Options for sorting by a field.
This is a convenience method that creates an instance of theFieldSortExpression.Builderavoiding the need to create one manually viaFieldSortExpression.builder().When the
Consumercompletes,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:
fieldSort(FieldSortExpression)
-
parameterSort
SearchSortExpression.Builder parameterSort(ParameterSortExpression 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.Builderavoiding the need to create one manually viaParameterSortExpression.builder().When the
Consumercompletes,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:
parameterSort(ParameterSortExpression)
-
userJobsFirst
SearchSortExpression.Builder userJobsFirst(UserJobsFirst 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
default SearchSortExpression.Builder userJobsFirst(Consumer<UserJobsFirst.Builder> userJobsFirst)
Options for sorting a particular user's jobs first.
This is a convenience method that creates an instance of theUserJobsFirst.Builderavoiding the need to create one manually viaUserJobsFirst.builder().When the
Consumercompletes,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:
userJobsFirst(UserJobsFirst)
-
-