public static interface CreateChatTokenRequest.Builder extends IvschatRequest.Builder, SdkPojo, CopyableBuilder<CreateChatTokenRequest.Builder,CreateChatTokenRequest>
| Modifier and Type | Method and Description |
|---|---|
CreateChatTokenRequest.Builder |
attributes(Map<String,String> attributes)
Application-provided attributes to encode into the token and attach to a chat session.
|
CreateChatTokenRequest.Builder |
capabilities(ChatTokenCapability... capabilities)
Set of capabilities that the user is allowed to perform in the room.
|
CreateChatTokenRequest.Builder |
capabilities(Collection<ChatTokenCapability> capabilities)
Set of capabilities that the user is allowed to perform in the room.
|
CreateChatTokenRequest.Builder |
capabilitiesWithStrings(Collection<String> capabilities)
Set of capabilities that the user is allowed to perform in the room.
|
CreateChatTokenRequest.Builder |
capabilitiesWithStrings(String... capabilities)
Set of capabilities that the user is allowed to perform in the room.
|
CreateChatTokenRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
CreateChatTokenRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
CreateChatTokenRequest.Builder |
roomIdentifier(String roomIdentifier)
Identifier of the room that the client is trying to access.
|
CreateChatTokenRequest.Builder |
sessionDurationInMinutes(Integer sessionDurationInMinutes)
Session duration (in minutes), after which the session expires.
|
CreateChatTokenRequest.Builder |
userId(String userId)
Application-provided ID that uniquely identifies the user associated with this token.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildCreateChatTokenRequest.Builder attributes(Map<String,String> attributes)
Application-provided attributes to encode into the token and attach to a chat session. Map keys and values can contain UTF-8 encoded text. The maximum length of this field is 1 KB total.
attributes - Application-provided attributes to encode into the token and attach to a chat session. Map keys and
values can contain UTF-8 encoded text. The maximum length of this field is 1 KB total.CreateChatTokenRequest.Builder capabilitiesWithStrings(Collection<String> capabilities)
Set of capabilities that the user is allowed to perform in the room. Default: None (the capability to view messages is implicitly included in all requests).
capabilities - Set of capabilities that the user is allowed to perform in the room. Default: None (the capability to
view messages is implicitly included in all requests).CreateChatTokenRequest.Builder capabilitiesWithStrings(String... capabilities)
Set of capabilities that the user is allowed to perform in the room. Default: None (the capability to view messages is implicitly included in all requests).
capabilities - Set of capabilities that the user is allowed to perform in the room. Default: None (the capability to
view messages is implicitly included in all requests).CreateChatTokenRequest.Builder capabilities(Collection<ChatTokenCapability> capabilities)
Set of capabilities that the user is allowed to perform in the room. Default: None (the capability to view messages is implicitly included in all requests).
capabilities - Set of capabilities that the user is allowed to perform in the room. Default: None (the capability to
view messages is implicitly included in all requests).CreateChatTokenRequest.Builder capabilities(ChatTokenCapability... capabilities)
Set of capabilities that the user is allowed to perform in the room. Default: None (the capability to view messages is implicitly included in all requests).
capabilities - Set of capabilities that the user is allowed to perform in the room. Default: None (the capability to
view messages is implicitly included in all requests).CreateChatTokenRequest.Builder roomIdentifier(String roomIdentifier)
Identifier of the room that the client is trying to access. Currently this must be an ARN.
roomIdentifier - Identifier of the room that the client is trying to access. Currently this must be an ARN.CreateChatTokenRequest.Builder sessionDurationInMinutes(Integer sessionDurationInMinutes)
Session duration (in minutes), after which the session expires. Default: 60 (1 hour).
sessionDurationInMinutes - Session duration (in minutes), after which the session expires. Default: 60 (1 hour).CreateChatTokenRequest.Builder userId(String userId)
Application-provided ID that uniquely identifies the user associated with this token. This can be any UTF-8 encoded text.
userId - Application-provided ID that uniquely identifies the user associated with this token. This can be any
UTF-8 encoded text.CreateChatTokenRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderCreateChatTokenRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2022. All rights reserved.