Interface ListParticipantsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListParticipantsResponse.Builder,
,ListParticipantsResponse> IvsRealTimeResponse.Builder
,SdkBuilder<ListParticipantsResponse.Builder,
,ListParticipantsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListParticipantsResponse
@Mutable
@NotThreadSafe
public static interface ListParticipantsResponse.Builder
extends IvsRealTimeResponse.Builder, SdkPojo, CopyableBuilder<ListParticipantsResponse.Builder,ListParticipantsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionIf there are more participants thanmaxResults
, usenextToken
in 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
copy
Methods inherited from interface software.amazon.awssdk.services.ivsrealtime.model.IvsRealTimeResponse.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 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.Builder
avoiding the need to create one manually viaParticipantSummary.builder()
.When the
Consumer
completes,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
, usenextToken
in the request to get the next set.- Parameters:
nextToken
- If there are more participants 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.
-