Interface CreateParticipantTokenRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateParticipantTokenRequest.Builder,,CreateParticipantTokenRequest> IvsRealTimeRequest.Builder,SdkBuilder<CreateParticipantTokenRequest.Builder,,CreateParticipantTokenRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateParticipantTokenRequest
-
Method Summary
Modifier and TypeMethodDescriptionattributes(Map<String, String> attributes) Application-provided attributes to encode into the token and attach to a stage.capabilities(Collection<ParticipantTokenCapability> capabilities) Set of capabilities that the user is allowed to perform in the stage.capabilities(ParticipantTokenCapability... capabilities) Set of capabilities that the user is allowed to perform in the stage.capabilitiesWithStrings(String... capabilities) Set of capabilities that the user is allowed to perform in the stage.capabilitiesWithStrings(Collection<String> capabilities) Set of capabilities that the user is allowed to perform in the stage.Duration (in minutes), after which the token expires.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.ARN of the stage to which this token is scoped.Name that can be specified to help identify the token.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.ivsrealtime.model.IvsRealTimeRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
stageArn
ARN of the stage to which this token is scoped.
- Parameters:
stageArn- ARN of the stage to which this token is scoped.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
duration
Duration (in minutes), after which the token expires. Default: 720 (12 hours).
- Parameters:
duration- Duration (in minutes), after which the token expires. Default: 720 (12 hours).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- Parameters:
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.- 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.
-
capabilitiesWithStrings
Set of capabilities that the user is allowed to perform in the stage. Default:
PUBLISH, SUBSCRIBE.- Parameters:
capabilities- Set of capabilities that the user is allowed to perform in the stage. Default:PUBLISH, SUBSCRIBE.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
capabilitiesWithStrings
Set of capabilities that the user is allowed to perform in the stage. Default:
PUBLISH, SUBSCRIBE.- Parameters:
capabilities- Set of capabilities that the user is allowed to perform in the stage. Default:PUBLISH, SUBSCRIBE.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
capabilities
CreateParticipantTokenRequest.Builder capabilities(Collection<ParticipantTokenCapability> capabilities) Set of capabilities that the user is allowed to perform in the stage. Default:
PUBLISH, SUBSCRIBE.- Parameters:
capabilities- Set of capabilities that the user is allowed to perform in the stage. Default:PUBLISH, SUBSCRIBE.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
capabilities
Set of capabilities that the user is allowed to perform in the stage. Default:
PUBLISH, SUBSCRIBE.- Parameters:
capabilities- Set of capabilities that the user is allowed to perform in the stage. Default:PUBLISH, SUBSCRIBE.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateParticipantTokenRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateParticipantTokenRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-