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, usenextTokenin 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
copyMethods inherited from interface software.amazon.awssdk.services.ivschat.model.IvschatResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
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.Builderavoiding the need to create one manually viaRoomSummary.builder().When the
Consumercompletes,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:
-
nextToken
If there are more rooms than
maxResults, usenextTokenin the request to get the next set.- Parameters:
nextToken- If there are more rooms thanmaxResults, usenextTokenin the request to get the next set.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-