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.BuilderfieldSort(Consumer<FieldSortExpression.Builder> fieldSort) Options for sorting by a field.fieldSort(FieldSortExpression fieldSort) Options for sorting by a field.default SearchSortExpression.BuilderparameterSort(Consumer<ParameterSortExpression.Builder> parameterSort) Options for sorting by a parameter.parameterSort(ParameterSortExpression parameterSort) Options for sorting by a parameter.default SearchSortExpression.BuilderuserJobsFirst(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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
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.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:
-
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.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:
-
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:
-