Interface SearchWorkersRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<SearchWorkersRequest.Builder,
,SearchWorkersRequest> DeadlineRequest.Builder
,SdkBuilder<SearchWorkersRequest.Builder,
,SearchWorkersRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
SearchWorkersRequest
-
Method Summary
Modifier and TypeMethodDescriptionThe farm ID in the workers search.default SearchWorkersRequest.Builder
filterExpressions
(Consumer<SearchGroupedFilterExpressions.Builder> filterExpressions) The filter expression,AND
orOR
, to use when searching among a group of search strings in a resource.filterExpressions
(SearchGroupedFilterExpressions filterExpressions) The filter expression,AND
orOR
, to use when searching among a group of search strings in a resource.The fleet ID of the workers to search for.fleetIds
(Collection<String> fleetIds) The fleet ID of the workers to search for.itemOffset
(Integer itemOffset) Defines how far into the scrollable list to start the return of results.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Specifies the number of items per page for the resource.sortExpressions
(Collection<SearchSortExpression> sortExpressions) The search terms for a resource.sortExpressions
(Consumer<SearchSortExpression.Builder>... sortExpressions) The search terms for a resource.sortExpressions
(SearchSortExpression... sortExpressions) The search terms for a resource.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.deadline.model.DeadlineRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
farmId
The farm ID in the workers search.
- Parameters:
farmId
- The farm ID in the workers search.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fleetIds
The fleet ID of the workers to search for.
- Parameters:
fleetIds
- The fleet ID of the workers to search for.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fleetIds
The fleet ID of the workers to search for.
- Parameters:
fleetIds
- The fleet ID of the workers to search for.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filterExpressions
The filter expression,
AND
orOR
, to use when searching among a group of search strings in a resource. You can use two groupings per search each within parenthesis()
.- Parameters:
filterExpressions
- The filter expression,AND
orOR
, to use when searching among a group of search strings in a resource. You can use two groupings per search each within parenthesis()
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filterExpressions
default SearchWorkersRequest.Builder filterExpressions(Consumer<SearchGroupedFilterExpressions.Builder> filterExpressions) The filter expression,
This is a convenience method that creates an instance of theAND
orOR
, to use when searching among a group of search strings in a resource. You can use two groupings per search each within parenthesis()
.SearchGroupedFilterExpressions.Builder
avoiding the need to create one manually viaSearchGroupedFilterExpressions.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tofilterExpressions(SearchGroupedFilterExpressions)
.- Parameters:
filterExpressions
- a consumer that will call methods onSearchGroupedFilterExpressions.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
sortExpressions
The search terms for a resource.
- Parameters:
sortExpressions
- The search terms for a resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sortExpressions
The search terms for a resource.
- Parameters:
sortExpressions
- The search terms for a resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sortExpressions
SearchWorkersRequest.Builder sortExpressions(Consumer<SearchSortExpression.Builder>... sortExpressions) The search terms for a resource.
This is a convenience method that creates an instance of theSearchSortExpression.Builder
avoiding the need to create one manually viaSearchSortExpression.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosortExpressions(List<SearchSortExpression>)
.- Parameters:
sortExpressions
- a consumer that will call methods onSearchSortExpression.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
itemOffset
Defines how far into the scrollable list to start the return of results.
- Parameters:
itemOffset
- Defines how far into the scrollable list to start the return of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
pageSize
Specifies the number of items per page for the resource.
- Parameters:
pageSize
- Specifies the number of items per page for the resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
SearchWorkersRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
SearchWorkersRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-