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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListRoomsResponse.BuildernextToken(String nextToken)If there are more rooms thanmaxResults, usenextTokenin the request to get the next set.ListRoomsResponse.Builderrooms(Collection<RoomSummary> rooms)List of the matching rooms (summary information only).ListRoomsResponse.Builderrooms(Consumer<RoomSummary.Builder>... rooms)List of the matching rooms (summary information only).ListRoomsResponse.Builderrooms(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, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
rooms
ListRoomsResponse.Builder rooms(Collection<RoomSummary> 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
ListRoomsResponse.Builder rooms(RoomSummary... 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
ListRoomsResponse.Builder rooms(Consumer<RoomSummary.Builder>... 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 to#rooms(List.) - 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:
#rooms(java.util.Collection)
-
nextToken
ListRoomsResponse.Builder nextToken(String 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.
-
-