Interface ListParticipantReplicasResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListParticipantReplicasResponse.Builder,
,ListParticipantReplicasResponse> IvsRealTimeResponse.Builder
,SdkBuilder<ListParticipantReplicasResponse.Builder,
,ListParticipantReplicasResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListParticipantReplicasResponse
@Mutable
@NotThreadSafe
public static interface ListParticipantReplicasResponse.Builder
extends IvsRealTimeResponse.Builder, SdkPojo, CopyableBuilder<ListParticipantReplicasResponse.Builder,ListParticipantReplicasResponse>
-
Method Summary
Modifier and TypeMethodDescriptionIf there are more participants thanmaxResults
, usenextToken
in the request to get the next set.replicas
(Collection<ParticipantReplica> replicas) List of all participant replicas.replicas
(Consumer<ParticipantReplica.Builder>... replicas) List of all participant replicas.replicas
(ParticipantReplica... replicas) List of all participant replicas.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
-
replicas
List of all participant replicas.
- Parameters:
replicas
- List of all participant replicas.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
replicas
List of all participant replicas.
- Parameters:
replicas
- List of all participant replicas.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
replicas
List of all participant replicas.
This is a convenience method that creates an instance of theParticipantReplica.Builder
avoiding the need to create one manually viaParticipantReplica.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toreplicas(List<ParticipantReplica>)
.- Parameters:
replicas
- a consumer that will call methods onParticipantReplica.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.
-