public static interface CreateParticipantTokenRequest.Builder extends IvsRealTimeRequest.Builder, SdkPojo, CopyableBuilder<CreateParticipantTokenRequest.Builder,CreateParticipantTokenRequest>
| Modifier and Type | Method and Description |
|---|---|
CreateParticipantTokenRequest.Builder |
attributes(Map<String,String> attributes)
Application-provided attributes to encode into the token and attach to a stage.
|
CreateParticipantTokenRequest.Builder |
capabilities(Collection<ParticipantTokenCapability> capabilities)
Set of capabilities that the user is allowed to perform in the stage.
|
CreateParticipantTokenRequest.Builder |
capabilities(ParticipantTokenCapability... capabilities)
Set of capabilities that the user is allowed to perform in the stage.
|
CreateParticipantTokenRequest.Builder |
capabilitiesWithStrings(Collection<String> capabilities)
Set of capabilities that the user is allowed to perform in the stage.
|
CreateParticipantTokenRequest.Builder |
capabilitiesWithStrings(String... capabilities)
Set of capabilities that the user is allowed to perform in the stage.
|
CreateParticipantTokenRequest.Builder |
duration(Integer duration)
Duration (in minutes), after which the token expires.
|
CreateParticipantTokenRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
CreateParticipantTokenRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
CreateParticipantTokenRequest.Builder |
stageArn(String stageArn)
ARN of the stage to which this token is scoped.
|
CreateParticipantTokenRequest.Builder |
userId(String userId)
Name that can be specified to help identify the token.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildCreateParticipantTokenRequest.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.
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.CreateParticipantTokenRequest.Builder capabilitiesWithStrings(Collection<String> capabilities)
Set of capabilities that the user is allowed to perform in the stage. Default:
PUBLISH, SUBSCRIBE.
capabilities - Set of capabilities that the user is allowed to perform in the stage. Default:
PUBLISH, SUBSCRIBE.CreateParticipantTokenRequest.Builder capabilitiesWithStrings(String... capabilities)
Set of capabilities that the user is allowed to perform in the stage. Default:
PUBLISH, SUBSCRIBE.
capabilities - Set of capabilities that the user is allowed to perform in the stage. Default:
PUBLISH, SUBSCRIBE.CreateParticipantTokenRequest.Builder capabilities(Collection<ParticipantTokenCapability> capabilities)
Set of capabilities that the user is allowed to perform in the stage. Default:
PUBLISH, SUBSCRIBE.
capabilities - Set of capabilities that the user is allowed to perform in the stage. Default:
PUBLISH, SUBSCRIBE.CreateParticipantTokenRequest.Builder capabilities(ParticipantTokenCapability... capabilities)
Set of capabilities that the user is allowed to perform in the stage. Default:
PUBLISH, SUBSCRIBE.
capabilities - Set of capabilities that the user is allowed to perform in the stage. Default:
PUBLISH, SUBSCRIBE.CreateParticipantTokenRequest.Builder duration(Integer duration)
Duration (in minutes), after which the token expires. Default: 720 (12 hours).
duration - Duration (in minutes), after which the token expires. Default: 720 (12 hours).CreateParticipantTokenRequest.Builder stageArn(String stageArn)
ARN of the stage to which this token is scoped.
stageArn - ARN of the stage to which this token is scoped.CreateParticipantTokenRequest.Builder userId(String userId)
Name that can be specified to help identify the token. 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.
userId - Name that can be specified to help identify the token. 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.CreateParticipantTokenRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderCreateParticipantTokenRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2023. All rights reserved.