Interface SearchRoomsResponse.Builder
-
- All Superinterfaces:
AlexaForBusinessResponse.Builder,AwsResponse.Builder,Buildable,CopyableBuilder<SearchRoomsResponse.Builder,SearchRoomsResponse>,SdkBuilder<SearchRoomsResponse.Builder,SearchRoomsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- SearchRoomsResponse
public static interface SearchRoomsResponse.Builder extends AlexaForBusinessResponse.Builder, SdkPojo, CopyableBuilder<SearchRoomsResponse.Builder,SearchRoomsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SearchRoomsResponse.BuildernextToken(String nextToken)The token returned to indicate that there is more data available.SearchRoomsResponse.Builderrooms(Collection<RoomData> rooms)The rooms that meet the specified set of filter criteria, in sort order.SearchRoomsResponse.Builderrooms(Consumer<RoomData.Builder>... rooms)The rooms that meet the specified set of filter criteria, in sort order.SearchRoomsResponse.Builderrooms(RoomData... rooms)The rooms that meet the specified set of filter criteria, in sort order.SearchRoomsResponse.BuildertotalCount(Integer totalCount)The total number of rooms returned.-
Methods inherited from interface software.amazon.awssdk.services.alexaforbusiness.model.AlexaForBusinessResponse.Builder
build, responseMetadata, responseMetadata
-
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
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
rooms
SearchRoomsResponse.Builder rooms(Collection<RoomData> rooms)
The rooms that meet the specified set of filter criteria, in sort order.
- Parameters:
rooms- The rooms that meet the specified set of filter criteria, in sort order.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rooms
SearchRoomsResponse.Builder rooms(RoomData... rooms)
The rooms that meet the specified set of filter criteria, in sort order.
- Parameters:
rooms- The rooms that meet the specified set of filter criteria, in sort order.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rooms
SearchRoomsResponse.Builder rooms(Consumer<RoomData.Builder>... rooms)
The rooms that meet the specified set of filter criteria, in sort order.
This is a convenience method that creates an instance of theRoomData.Builderavoiding the need to create one manually viaRoomData.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#rooms(List.) - Parameters:
rooms- a consumer that will call methods onRoomData.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#rooms(java.util.Collection)
-
nextToken
SearchRoomsResponse.Builder nextToken(String nextToken)
The token returned to indicate that there is more data available.
- Parameters:
nextToken- The token returned to indicate that there is more data available.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
totalCount
SearchRoomsResponse.Builder totalCount(Integer totalCount)
The total number of rooms returned.
- Parameters:
totalCount- The total number of rooms returned.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-