Interface ParticipantTokenConfiguration.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ParticipantTokenConfiguration.Builder,ParticipantTokenConfiguration>,SdkBuilder<ParticipantTokenConfiguration.Builder,ParticipantTokenConfiguration>,SdkPojo
- Enclosing class:
- ParticipantTokenConfiguration
public static interface ParticipantTokenConfiguration.Builder extends SdkPojo, CopyableBuilder<ParticipantTokenConfiguration.Builder,ParticipantTokenConfiguration>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ParticipantTokenConfiguration.Builderattributes(Map<String,String> attributes)Application-provided attributes to encode into the corresponding participant token and attach to a stage.ParticipantTokenConfiguration.Buildercapabilities(Collection<ParticipantTokenCapability> capabilities)Set of capabilities that the user is allowed to perform in the stage.ParticipantTokenConfiguration.Buildercapabilities(ParticipantTokenCapability... capabilities)Set of capabilities that the user is allowed to perform in the stage.ParticipantTokenConfiguration.BuildercapabilitiesWithStrings(String... capabilities)Set of capabilities that the user is allowed to perform in the stage.ParticipantTokenConfiguration.BuildercapabilitiesWithStrings(Collection<String> capabilities)Set of capabilities that the user is allowed to perform in the stage.ParticipantTokenConfiguration.Builderduration(Integer duration)Duration (in minutes), after which the corresponding participant token expires.ParticipantTokenConfiguration.BuilderuserId(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.-
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
-
attributes
ParticipantTokenConfiguration.Builder attributes(Map<String,String> attributes)
Application-provided attributes to encode into the corresponding participant 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 corresponding participant 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
ParticipantTokenConfiguration.Builder capabilitiesWithStrings(Collection<String> capabilities)
Set of capabilities that the user is allowed to perform in the stage.
- Parameters:
capabilities- Set of capabilities that the user is allowed to perform in the stage.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
capabilitiesWithStrings
ParticipantTokenConfiguration.Builder capabilitiesWithStrings(String... capabilities)
Set of capabilities that the user is allowed to perform in the stage.
- Parameters:
capabilities- Set of capabilities that the user is allowed to perform in the stage.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
capabilities
ParticipantTokenConfiguration.Builder capabilities(Collection<ParticipantTokenCapability> capabilities)
Set of capabilities that the user is allowed to perform in the stage.
- Parameters:
capabilities- Set of capabilities that the user is allowed to perform in the stage.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
capabilities
ParticipantTokenConfiguration.Builder capabilities(ParticipantTokenCapability... capabilities)
Set of capabilities that the user is allowed to perform in the stage.
- Parameters:
capabilities- Set of capabilities that the user is allowed to perform in the stage.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
duration
ParticipantTokenConfiguration.Builder duration(Integer duration)
Duration (in minutes), after which the corresponding participant token expires. Default: 720 (12 hours).
- Parameters:
duration- Duration (in minutes), after which the corresponding participant token expires. Default: 720 (12 hours).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
userId
ParticipantTokenConfiguration.Builder userId(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.
- 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.
-
-