Class ParticipantSummary
- java.lang.Object
-
- software.amazon.awssdk.services.ivsrealtime.model.ParticipantSummary
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ParticipantSummary.Builder,ParticipantSummary>
@Generated("software.amazon.awssdk:codegen") public final class ParticipantSummary extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ParticipantSummary.Builder,ParticipantSummary>
Summary object describing a participant that has joined a stage.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceParticipantSummary.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ParticipantSummary.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)InstantfirstJoinTime()ISO 8601 timestamp (returned as a string) when the participant first joined the stage session.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringparticipantId()Unique identifier for this participant, assigned by IVS.Booleanpublished()Whether the participant ever published to the stage session.List<SdkField<?>>sdkFields()static Class<? extends ParticipantSummary.Builder>serializableBuilderClass()ParticipantStatestate()Whether the participant is connected to or disconnected from the stage.StringstateAsString()Whether the participant is connected to or disconnected from the stage.ParticipantSummary.BuildertoBuilder()StringtoString()Returns a string representation of this object.StringuserId()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 class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
firstJoinTime
public final Instant firstJoinTime()
ISO 8601 timestamp (returned as a string) when the participant first joined the stage session.
- Returns:
- ISO 8601 timestamp (returned as a string) when the participant first joined the stage session.
-
participantId
public final String participantId()
Unique identifier for this participant, assigned by IVS.
- Returns:
- Unique identifier for this participant, assigned by IVS.
-
published
public final Boolean published()
Whether the participant ever published to the stage session.
- Returns:
- Whether the participant ever published to the stage session.
-
state
public final ParticipantState state()
Whether the participant is connected to or disconnected from the stage.
If the service returns an enum value that is not available in the current SDK version,
statewill returnParticipantState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstateAsString().- Returns:
- Whether the participant is connected to or disconnected from the stage.
- See Also:
ParticipantState
-
stateAsString
public final String stateAsString()
Whether the participant is connected to or disconnected from the stage.
If the service returns an enum value that is not available in the current SDK version,
statewill returnParticipantState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstateAsString().- Returns:
- Whether the participant is connected to or disconnected from the stage.
- See Also:
ParticipantState
-
userId
public final 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.
- Returns:
- 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.
-
toBuilder
public ParticipantSummary.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ParticipantSummary.Builder,ParticipantSummary>
-
builder
public static ParticipantSummary.Builder builder()
-
serializableBuilderClass
public static Class<? extends ParticipantSummary.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-