Interface CreateParticipantTokenResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<CreateParticipantTokenResponse.Builder,CreateParticipantTokenResponse>,IvsRealTimeResponse.Builder,SdkBuilder<CreateParticipantTokenResponse.Builder,CreateParticipantTokenResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- CreateParticipantTokenResponse
public static interface CreateParticipantTokenResponse.Builder extends IvsRealTimeResponse.Builder, SdkPojo, CopyableBuilder<CreateParticipantTokenResponse.Builder,CreateParticipantTokenResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default CreateParticipantTokenResponse.BuilderparticipantToken(Consumer<ParticipantToken.Builder> participantToken)The participant token that was created.CreateParticipantTokenResponse.BuilderparticipantToken(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 Detail
-
participantToken
CreateParticipantTokenResponse.Builder participantToken(ParticipantToken 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.Builderavoiding the need to create one manually viaParticipantToken.builder().When the
Consumercompletes,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:
participantToken(ParticipantToken)
-
-