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, usenextTokenin 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
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, sdkFieldNameToField, sdkFieldsMethods 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.Builderavoiding the need to create one manually viaParticipantReplica.builder().When the
Consumercompletes,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, 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.
-