Interface Participant.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Participant.Builder,
,Participant> SdkBuilder<Participant.Builder,
,Participant> SdkPojo
- Enclosing class:
Participant
-
Method Summary
Modifier and TypeMethodDescriptionattributes
(Map<String, String> attributes) Application-provided attributes to encode into the token and attach to a stage.browserName
(String browserName) The participant’s browser.browserVersion
(String browserVersion) The participant’s browser version.firstJoinTime
(Instant firstJoinTime) ISO 8601 timestamp (returned as a string) when the participant first joined the stage session.The participant’s Internet Service Provider.The participant’s operating system.The participant’s operating system version.participantId
(String participantId) Unique identifier for this participant, assigned by IVS.Type of ingest protocol that the participant employs for broadcasting.protocol
(ParticipantProtocol protocol) Type of ingest protocol that the participant employs for broadcasting.Whether the participant ever published to the stage session.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.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.recordingState
(String recordingState) The participant’s recording state.recordingState
(ParticipantRecordingState recordingState) The participant’s recording state.replicationState
(String replicationState) The participant's replication state.replicationState
(ReplicationState replicationState) The participant's replication state.replicationType
(String replicationType) Indicates if the participant has been replicated to another stage or is a replica from another stage.replicationType
(ReplicationType replicationType) Indicates if the participant has been replicated to another stage or is a replica from another stage.sdkVersion
(String sdkVersion) The participant’s SDK version.sourceSessionId
(String sourceSessionId) ID of the session within the source stage, ifreplicationType
isREPLICA
.sourceStageArn
(String sourceStageArn) Source stage ARN from which this participant is replicated, ifreplicationType
isREPLICA
.Whether the participant is connected to or disconnected from the stage.state
(ParticipantState state) Whether the participant is connected to or disconnected from the stage.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 Details
-
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
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
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:
-
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:
-
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
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
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
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
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
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
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
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
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
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
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. If individual participant recording merge is enabled, and if a stage publisher disconnects from a stage and then reconnects, IVS tries to record to the same S3 prefix as the previous session. See Merge Fragmented Individual Participant Recordings.- 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. If individual participant recording merge is enabled, and if a stage publisher disconnects from a stage and then reconnects, IVS tries to record to the same S3 prefix as the previous session. See Merge Fragmented Individual Participant Recordings.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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:
-
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:
-
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:
-
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:
-
replicationType
Indicates if the participant has been replicated to another stage or is a replica from another stage. Default:
NONE
.- Parameters:
replicationType
- Indicates if the participant has been replicated to another stage or is a replica from another stage. Default:NONE
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
replicationType
Indicates if the participant has been replicated to another stage or is a replica from another stage. Default:
NONE
.- Parameters:
replicationType
- Indicates if the participant has been replicated to another stage or is a replica from another stage. Default:NONE
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
replicationState
The participant's replication state.
- Parameters:
replicationState
- The participant's replication state.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
replicationState
The participant's replication state.
- Parameters:
replicationState
- The participant's replication state.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
sourceStageArn
Source stage ARN from which this participant is replicated, if
replicationType
isREPLICA
.- Parameters:
sourceStageArn
- Source stage ARN from which this participant is replicated, ifreplicationType
isREPLICA
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceSessionId
ID of the session within the source stage, if
replicationType
isREPLICA
.- Parameters:
sourceSessionId
- ID of the session within the source stage, ifreplicationType
isREPLICA
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-