Interface GetParticipantResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetParticipantResponse.Builder,,GetParticipantResponse> IvsRealTimeResponse.Builder,SdkBuilder<GetParticipantResponse.Builder,,GetParticipantResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetParticipantResponse
@Mutable
@NotThreadSafe
public static interface GetParticipantResponse.Builder
extends IvsRealTimeResponse.Builder, SdkPojo, CopyableBuilder<GetParticipantResponse.Builder,GetParticipantResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault GetParticipantResponse.Builderparticipant(Consumer<Participant.Builder> participant) The participant that is returned.participant(Participant participant) The participant that is returned.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
-
participant
The participant that is returned.
- Parameters:
participant- The participant that is returned.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
participant
The participant that is returned.
This is a convenience method that creates an instance of theParticipant.Builderavoiding the need to create one manually viaParticipant.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toparticipant(Participant).- Parameters:
participant- a consumer that will call methods onParticipant.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-