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
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
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
-
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:
-