Interface SearchRoomsRequest.Builder
-
- All Superinterfaces:
AlexaForBusinessRequest.Builder,AwsRequest.Builder,Buildable,CopyableBuilder<SearchRoomsRequest.Builder,SearchRoomsRequest>,SdkBuilder<SearchRoomsRequest.Builder,SearchRoomsRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- SearchRoomsRequest
public static interface SearchRoomsRequest.Builder extends AlexaForBusinessRequest.Builder, SdkPojo, CopyableBuilder<SearchRoomsRequest.Builder,SearchRoomsRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SearchRoomsRequest.Builderfilters(Collection<Filter> filters)The filters to use to list a specified set of rooms.SearchRoomsRequest.Builderfilters(Consumer<Filter.Builder>... filters)The filters to use to list a specified set of rooms.SearchRoomsRequest.Builderfilters(Filter... filters)The filters to use to list a specified set of rooms.SearchRoomsRequest.BuildermaxResults(Integer maxResults)The maximum number of results to include in the response.SearchRoomsRequest.BuildernextToken(String nextToken)An optional token returned from a prior request.SearchRoomsRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)SearchRoomsRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)SearchRoomsRequest.BuildersortCriteria(Collection<Sort> sortCriteria)The sort order to use in listing the specified set of rooms.SearchRoomsRequest.BuildersortCriteria(Consumer<Sort.Builder>... sortCriteria)The sort order to use in listing the specified set of rooms.SearchRoomsRequest.BuildersortCriteria(Sort... sortCriteria)The sort order to use in listing the specified set of rooms.-
Methods inherited from interface software.amazon.awssdk.services.alexaforbusiness.model.AlexaForBusinessRequest.Builder
build
-
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.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
nextToken
SearchRoomsRequest.Builder nextToken(String nextToken)
An optional token returned from a prior request. Use this token for pagination of results from this action. If this parameter is specified, the response includes only results beyond the token, up to the value specified by
MaxResults.- Parameters:
nextToken- An optional token returned from a prior request. Use this token for pagination of results from this action. If this parameter is specified, the response includes only results beyond the token, up to the value specified byMaxResults.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxResults
SearchRoomsRequest.Builder maxResults(Integer maxResults)
The maximum number of results to include in the response. If more results exist than the specified
MaxResultsvalue, a token is included in the response so that the remaining results can be retrieved.- Parameters:
maxResults- The maximum number of results to include in the response. If more results exist than the specifiedMaxResultsvalue, a token is included in the response so that the remaining results can be retrieved.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
SearchRoomsRequest.Builder filters(Collection<Filter> filters)
The filters to use to list a specified set of rooms. The supported filter keys are RoomName and ProfileName.
- Parameters:
filters- The filters to use to list a specified set of rooms. The supported filter keys are RoomName and ProfileName.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
SearchRoomsRequest.Builder filters(Filter... filters)
The filters to use to list a specified set of rooms. The supported filter keys are RoomName and ProfileName.
- Parameters:
filters- The filters to use to list a specified set of rooms. The supported filter keys are RoomName and ProfileName.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
SearchRoomsRequest.Builder filters(Consumer<Filter.Builder>... filters)
The filters to use to list a specified set of rooms. The supported filter keys are RoomName and ProfileName.
This is a convenience method that creates an instance of theFilter.Builderavoiding the need to create one manually viaFilter.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#filters(List.) - Parameters:
filters- a consumer that will call methods onFilter.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#filters(java.util.Collection)
-
sortCriteria
SearchRoomsRequest.Builder sortCriteria(Collection<Sort> sortCriteria)
The sort order to use in listing the specified set of rooms. The supported sort keys are RoomName and ProfileName.
- Parameters:
sortCriteria- The sort order to use in listing the specified set of rooms. The supported sort keys are RoomName and ProfileName.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sortCriteria
SearchRoomsRequest.Builder sortCriteria(Sort... sortCriteria)
The sort order to use in listing the specified set of rooms. The supported sort keys are RoomName and ProfileName.
- Parameters:
sortCriteria- The sort order to use in listing the specified set of rooms. The supported sort keys are RoomName and ProfileName.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sortCriteria
SearchRoomsRequest.Builder sortCriteria(Consumer<Sort.Builder>... sortCriteria)
The sort order to use in listing the specified set of rooms. The supported sort keys are RoomName and ProfileName.
This is a convenience method that creates an instance of theSort.Builderavoiding the need to create one manually viaSort.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#sortCriteria(List.) - Parameters:
sortCriteria- a consumer that will call methods onSort.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#sortCriteria(java.util.Collection)
-
overrideConfiguration
SearchRoomsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
SearchRoomsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-