Interface Participant.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Participant.Builder,Participant>,SdkBuilder<Participant.Builder,Participant>,SdkPojo
- Enclosing class:
- Participant
public static interface Participant.Builder extends SdkPojo, CopyableBuilder<Participant.Builder,Participant>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Participant.Builderattributes(Map<String,String> attributes)Application-provided attributes to encode into the token and attach to a stage.Participant.BuilderbrowserName(String browserName)The participant’s browser.Participant.BuilderbrowserVersion(String browserVersion)The participant’s browser version.Participant.BuilderfirstJoinTime(Instant firstJoinTime)ISO 8601 timestamp (returned as a string) when the participant first joined the stage session.Participant.BuilderispName(String ispName)The participant’s Internet Service Provider.Participant.BuilderosName(String osName)The participant’s operating system.Participant.BuilderosVersion(String osVersion)The participant’s operating system version.Participant.BuilderparticipantId(String participantId)Unique identifier for this participant, assigned by IVS.Participant.Builderprotocol(String protocol)Type of ingest protocol that the participant employs for broadcasting.Participant.Builderprotocol(ParticipantProtocol protocol)Type of ingest protocol that the participant employs for broadcasting.Participant.Builderpublished(Boolean published)Whether the participant ever published to the stage session.Participant.BuilderrecordingS3BucketName(String recordingS3BucketName)Name of the S3 bucket to where the participant is being recorded, if individual participant recording is enabled, or""(empty string), if recording is not enabled.Participant.BuilderrecordingS3Prefix(String recordingS3Prefix)S3 prefix of the S3 bucket where the participant is being recorded, if individual participant recording is enabled, or""(empty string), if recording is not enabled.Participant.BuilderrecordingState(String recordingState)The participant’s recording state.Participant.BuilderrecordingState(ParticipantRecordingState recordingState)The participant’s recording state.Participant.BuildersdkVersion(String sdkVersion)The participant’s SDK version.Participant.Builderstate(String state)Whether the participant is connected to or disconnected from the stage.Participant.Builderstate(ParticipantState state)Whether the participant is connected to or disconnected from the stage.Participant.BuilderuserId(String userId)Customer-assigned name to help identify the token; this can be used to link a participant to a user in the customer’s own systems.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
participantId
Participant.Builder participantId(String participantId)
Unique identifier for this participant, assigned by IVS.
- Parameters:
participantId- Unique identifier for this participant, assigned by IVS.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
userId
Participant.Builder userId(String userId)
Customer-assigned name to help identify the token; this can be used to link a participant to a user in the customer’s own systems. This can be any UTF-8 encoded text. This field is exposed to all stage participants and should not be used for personally identifying, confidential, or sensitive information.
- Parameters:
userId- Customer-assigned name to help identify the token; this can be used to link a participant to a user in the customer’s own systems. This can be any UTF-8 encoded text. This field is exposed to all stage participants and should not be used for personally identifying, confidential, or sensitive information.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
state
Participant.Builder state(String state)
Whether the participant is connected to or disconnected from the stage.
- Parameters:
state- Whether the participant is connected to or disconnected from the stage.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ParticipantState,ParticipantState
-
state
Participant.Builder state(ParticipantState state)
Whether the participant is connected to or disconnected from the stage.
- Parameters:
state- Whether the participant is connected to or disconnected from the stage.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ParticipantState,ParticipantState
-
firstJoinTime
Participant.Builder firstJoinTime(Instant firstJoinTime)
ISO 8601 timestamp (returned as a string) when the participant first joined the stage session.
- Parameters:
firstJoinTime- ISO 8601 timestamp (returned as a string) when the participant first joined the stage session.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attributes
Participant.Builder attributes(Map<String,String> attributes)
Application-provided attributes to encode into the token and attach to a stage. Map keys and values can contain UTF-8 encoded text. The maximum length of this field is 1 KB total. This field is exposed to all stage participants and should not be used for personally identifying, confidential, or sensitive information.
- Parameters:
attributes- Application-provided attributes to encode into the token and attach to a stage. Map keys and values can contain UTF-8 encoded text. The maximum length of this field is 1 KB total. This field is exposed to all stage participants and should not be used for personally identifying, confidential, or sensitive information.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
published
Participant.Builder published(Boolean published)
Whether the participant ever published to the stage session.
- Parameters:
published- Whether the participant ever published to the stage session.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ispName
Participant.Builder ispName(String ispName)
The participant’s Internet Service Provider.
- Parameters:
ispName- The participant’s Internet Service Provider.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
osName
Participant.Builder osName(String osName)
The participant’s operating system.
- Parameters:
osName- The participant’s operating system.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
osVersion
Participant.Builder osVersion(String osVersion)
The participant’s operating system version.
- Parameters:
osVersion- The participant’s operating system version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
browserName
Participant.Builder browserName(String browserName)
The participant’s browser.
- Parameters:
browserName- The participant’s browser.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
browserVersion
Participant.Builder browserVersion(String browserVersion)
The participant’s browser version.
- Parameters:
browserVersion- The participant’s browser version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sdkVersion
Participant.Builder sdkVersion(String sdkVersion)
The participant’s SDK version.
- Parameters:
sdkVersion- The participant’s SDK version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
recordingS3BucketName
Participant.Builder recordingS3BucketName(String recordingS3BucketName)
Name of the S3 bucket to where the participant is being recorded, if individual participant recording is enabled, or
""(empty string), if recording is not enabled.- Parameters:
recordingS3BucketName- Name of the S3 bucket to where the participant is being recorded, if individual participant recording is enabled, or""(empty string), if recording is not enabled.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
recordingS3Prefix
Participant.Builder recordingS3Prefix(String recordingS3Prefix)
S3 prefix of the S3 bucket where the participant is being recorded, if individual participant recording is enabled, or
""(empty string), if recording is not enabled.- Parameters:
recordingS3Prefix- S3 prefix of the S3 bucket where the participant is being recorded, if individual participant recording is enabled, or""(empty string), if recording is not enabled.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
recordingState
Participant.Builder recordingState(String recordingState)
The participant’s recording state.
- Parameters:
recordingState- The participant’s recording state.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ParticipantRecordingState,ParticipantRecordingState
-
recordingState
Participant.Builder recordingState(ParticipantRecordingState recordingState)
The participant’s recording state.
- Parameters:
recordingState- The participant’s recording state.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ParticipantRecordingState,ParticipantRecordingState
-
protocol
Participant.Builder protocol(String protocol)
Type of ingest protocol that the participant employs for broadcasting.
- Parameters:
protocol- Type of ingest protocol that the participant employs for broadcasting.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ParticipantProtocol,ParticipantProtocol
-
protocol
Participant.Builder protocol(ParticipantProtocol protocol)
Type of ingest protocol that the participant employs for broadcasting.
- Parameters:
protocol- Type of ingest protocol that the participant employs for broadcasting.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ParticipantProtocol,ParticipantProtocol
-
-