Interface ListRoomsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListRoomsResponse.Builder,
,ListRoomsResponse> IvschatResponse.Builder
,SdkBuilder<ListRoomsResponse.Builder,
,ListRoomsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListRoomsResponse
public static interface ListRoomsResponse.Builder
extends IvschatResponse.Builder, SdkPojo, CopyableBuilder<ListRoomsResponse.Builder,ListRoomsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionIf there are more rooms thanmaxResults
, usenextToken
in the request to get the next set.rooms
(Collection<RoomSummary> rooms) List of the matching rooms (summary information only).rooms
(Consumer<RoomSummary.Builder>... rooms) List of the matching rooms (summary information only).rooms
(RoomSummary... rooms) List of the matching rooms (summary information only).Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.ivschat.model.IvschatResponse.Builder
build, responseMetadata, responseMetadata
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 Details
-
nextToken
If there are more rooms than
maxResults
, usenextToken
in the request to get the next set.- Parameters:
nextToken
- If there are more rooms thanmaxResults
, usenextToken
in the request to get the next set.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rooms
List of the matching rooms (summary information only).
- Parameters:
rooms
- List of the matching rooms (summary information only).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rooms
List of the matching rooms (summary information only).
- Parameters:
rooms
- List of the matching rooms (summary information only).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rooms
List of the matching rooms (summary information only).
This is a convenience method that creates an instance of theRoomSummary.Builder
avoiding the need to create one manually viaRoomSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed torooms(List<RoomSummary>)
.- Parameters:
rooms
- a consumer that will call methods onRoomSummary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-