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.Builder
participant
(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
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
-
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.Builder
avoiding the need to create one manually viaParticipant.builder()
.When the
Consumer
completes,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:
-