Interface ParticipantTokenCredentials.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ParticipantTokenCredentials.Builder,ParticipantTokenCredentials>,SdkBuilder<ParticipantTokenCredentials.Builder,ParticipantTokenCredentials>,SdkPojo
- Enclosing class:
- ParticipantTokenCredentials
public static interface ParticipantTokenCredentials.Builder extends SdkPojo, CopyableBuilder<ParticipantTokenCredentials.Builder,ParticipantTokenCredentials>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ParticipantTokenCredentials.Builderexpiry(String expiry)The expiration of the token.ParticipantTokenCredentials.BuilderparticipantToken(String participantToken)The token used by the chat participant to call CreateParticipantConnection.-
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, sdkFields
-
-
-
-
Method Detail
-
participantToken
ParticipantTokenCredentials.Builder participantToken(String participantToken)
The token used by the chat participant to call CreateParticipantConnection. The participant token is valid for the lifetime of a chat participant.
- Parameters:
participantToken- The token used by the chat participant to call CreateParticipantConnection. The participant token is valid for the lifetime of a chat participant.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
expiry
ParticipantTokenCredentials.Builder expiry(String expiry)
The expiration of the token. It's specified in ISO 8601 format: yyyy-MM-ddThh:mm:ss.SSSZ. For example, 2019-11-08T02:41:28.172Z.
- Parameters:
expiry- The expiration of the token. It's specified in ISO 8601 format: yyyy-MM-ddThh:mm:ss.SSSZ. For example, 2019-11-08T02:41:28.172Z.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-