Interface CreateParticipantTokenResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<CreateParticipantTokenResponse.Builder,
,CreateParticipantTokenResponse> IvsRealTimeResponse.Builder
,SdkBuilder<CreateParticipantTokenResponse.Builder,
,CreateParticipantTokenResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
CreateParticipantTokenResponse
@Mutable
@NotThreadSafe
public static interface CreateParticipantTokenResponse.Builder
extends IvsRealTimeResponse.Builder, SdkPojo, CopyableBuilder<CreateParticipantTokenResponse.Builder,CreateParticipantTokenResponse>
-
Method Summary
Modifier and TypeMethodDescriptionparticipantToken
(Consumer<ParticipantToken.Builder> participantToken) The participant token that was created.participantToken
(ParticipantToken participantToken) The participant token that was created.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
-
participantToken
The participant token that was created.
- Parameters:
participantToken
- The participant token that was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
participantToken
default CreateParticipantTokenResponse.Builder participantToken(Consumer<ParticipantToken.Builder> participantToken) The participant token that was created.
This is a convenience method that creates an instance of theParticipantToken.Builder
avoiding the need to create one manually viaParticipantToken.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toparticipantToken(ParticipantToken)
.- Parameters:
participantToken
- a consumer that will call methods onParticipantToken.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-