Interface ListParticipantsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListParticipantsResponse.Builder,,ListParticipantsResponse> IvsRealTimeResponse.Builder,SdkBuilder<ListParticipantsResponse.Builder,,ListParticipantsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListParticipantsResponse
public static interface ListParticipantsResponse.Builder
extends IvsRealTimeResponse.Builder, SdkPojo, CopyableBuilder<ListParticipantsResponse.Builder,ListParticipantsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionIf there are more participants thanmaxResults, usenextTokenin the request to get the next set.participants(Collection<ParticipantSummary> participants) List of the matching participants (summary information only).participants(Consumer<ParticipantSummary.Builder>... participants) List of the matching participants (summary information only).participants(ParticipantSummary... participants) List of the matching participants (summary information only).Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.ivsrealtime.model.IvsRealTimeResponse.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
-
participants
List of the matching participants (summary information only).
- Parameters:
participants- List of the matching participants (summary information only).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
participants
List of the matching participants (summary information only).
- Parameters:
participants- List of the matching participants (summary information only).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
participants
List of the matching participants (summary information only).
This is a convenience method that creates an instance of theParticipantSummary.Builderavoiding the need to create one manually viaParticipantSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toparticipants(List<ParticipantSummary>).- Parameters:
participants- a consumer that will call methods onParticipantSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
If there are more participants than
maxResults, usenextTokenin the request to get the next set.- Parameters:
nextToken- If there are more participants thanmaxResults, usenextTokenin the request to get the next set.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-