Class ChatSession.Builder
- 
                    
                    - All Implemented Interfaces:
 
 public final class ChatSession.BuilderA builder for ChatSession. 
- 
                
                    
                    - 
                                
                            
                                Method SummaryModifier and Type Method Description final ChatSession.Builderid(String id)Identifier for the ChatKit session. final ChatSession.Builderid(JsonField<String> id)Sets Builder.id to an arbitrary JSON value. final ChatSession.BuilderchatkitConfiguration(ChatSessionChatKitConfiguration chatkitConfiguration)Resolved ChatKit feature configuration for the session. final ChatSession.BuilderchatkitConfiguration(JsonField<ChatSessionChatKitConfiguration> chatkitConfiguration)Sets Builder.chatkitConfiguration to an arbitrary JSON value. final ChatSession.BuilderclientSecret(String clientSecret)Ephemeral client secret that authenticates session requests. final ChatSession.BuilderclientSecret(JsonField<String> clientSecret)Sets Builder.clientSecret to an arbitrary JSON value. final ChatSession.BuilderexpiresAt(Long expiresAt)Unix timestamp (in seconds) for when the session expires. final ChatSession.BuilderexpiresAt(JsonField<Long> expiresAt)Sets Builder.expiresAt to an arbitrary JSON value. final ChatSession.BuildermaxRequestsPer1Minute(Long maxRequestsPer1Minute)Convenience copy of the per-minute request limit. final ChatSession.BuildermaxRequestsPer1Minute(JsonField<Long> maxRequestsPer1Minute)Sets Builder.maxRequestsPer1Minute to an arbitrary JSON value. final ChatSession.Builderobject_(JsonValue object_)Sets the field to an arbitrary JSON value. final ChatSession.BuilderrateLimits(ChatSessionRateLimits rateLimits)Resolved rate limit values. final ChatSession.BuilderrateLimits(JsonField<ChatSessionRateLimits> rateLimits)Sets Builder.rateLimits to an arbitrary JSON value. final ChatSession.Builderstatus(ChatSessionStatus status)Current lifecycle state of the session. final ChatSession.Builderstatus(JsonField<ChatSessionStatus> status)Sets Builder.status to an arbitrary JSON value. final ChatSession.Builderuser(String user)User identifier associated with the session. final ChatSession.Builderuser(JsonField<String> user)Sets Builder.user to an arbitrary JSON value. final ChatSession.Builderworkflow(ChatKitWorkflow workflow)Workflow metadata for the session. final ChatSession.Builderworkflow(JsonField<ChatKitWorkflow> workflow)Sets Builder.workflow to an arbitrary JSON value. final ChatSession.BuilderadditionalProperties(Map<String, JsonValue> additionalProperties)final ChatSession.BuilderputAdditionalProperty(String key, JsonValue value)final ChatSession.BuilderputAllAdditionalProperties(Map<String, JsonValue> additionalProperties)final ChatSession.BuilderremoveAdditionalProperty(String key)final ChatSession.BuilderremoveAllAdditionalProperties(Set<String> keys)final ChatSessionbuild()Returns an immutable instance of ChatSession. - 
                    
                    
                    - 
                                
                            
                                Method Detail- 
                                        idfinal ChatSession.Builder id(String id) Identifier for the ChatKit session. 
 - 
                                        idfinal ChatSession.Builder id(JsonField<String> id) Sets Builder.id to an arbitrary JSON value. You should usually call Builder.id with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value. 
 - 
                                        chatkitConfigurationfinal ChatSession.Builder chatkitConfiguration(ChatSessionChatKitConfiguration chatkitConfiguration) Resolved ChatKit feature configuration for the session. 
 - 
                                        chatkitConfigurationfinal ChatSession.Builder chatkitConfiguration(JsonField<ChatSessionChatKitConfiguration> chatkitConfiguration) Sets Builder.chatkitConfiguration to an arbitrary JSON value. You should usually call Builder.chatkitConfiguration with a well-typed ChatSessionChatKitConfiguration value instead. This method is primarily for setting the field to an undocumented or not yet supported value. 
 - 
                                        clientSecretfinal ChatSession.Builder clientSecret(String clientSecret) Ephemeral client secret that authenticates session requests. 
 - 
                                        clientSecretfinal ChatSession.Builder clientSecret(JsonField<String> clientSecret) Sets Builder.clientSecret to an arbitrary JSON value. You should usually call Builder.clientSecret with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value. 
 - 
                                        expiresAtfinal ChatSession.Builder expiresAt(Long expiresAt) Unix timestamp (in seconds) for when the session expires. 
 - 
                                        expiresAtfinal ChatSession.Builder expiresAt(JsonField<Long> expiresAt) Sets Builder.expiresAt to an arbitrary JSON value. You should usually call Builder.expiresAt with a well-typed Long value instead. This method is primarily for setting the field to an undocumented or not yet supported value. 
 - 
                                        maxRequestsPer1Minutefinal ChatSession.Builder maxRequestsPer1Minute(Long maxRequestsPer1Minute) Convenience copy of the per-minute request limit. 
 - 
                                        maxRequestsPer1Minutefinal ChatSession.Builder maxRequestsPer1Minute(JsonField<Long> maxRequestsPer1Minute) Sets Builder.maxRequestsPer1Minute to an arbitrary JSON value. You should usually call Builder.maxRequestsPer1Minute with a well-typed Long value instead. This method is primarily for setting the field to an undocumented or not yet supported value. 
 - 
                                        object_final ChatSession.Builder object_(JsonValue object_) Sets the field to an arbitrary JSON value. It is usually unnecessary to call this method because the field defaults to the following: JsonValue.from("chatkit.session")This method is primarily for setting the field to an undocumented or not yet supported value. 
 - 
                                        rateLimitsfinal ChatSession.Builder rateLimits(ChatSessionRateLimits rateLimits) Resolved rate limit values. 
 - 
                                        rateLimitsfinal ChatSession.Builder rateLimits(JsonField<ChatSessionRateLimits> rateLimits) Sets Builder.rateLimits to an arbitrary JSON value. You should usually call Builder.rateLimits with a well-typed ChatSessionRateLimits value instead. This method is primarily for setting the field to an undocumented or not yet supported value. 
 - 
                                        statusfinal ChatSession.Builder status(ChatSessionStatus status) Current lifecycle state of the session. 
 - 
                                        statusfinal ChatSession.Builder status(JsonField<ChatSessionStatus> status) Sets Builder.status to an arbitrary JSON value. You should usually call Builder.status with a well-typed ChatSessionStatus value instead. This method is primarily for setting the field to an undocumented or not yet supported value. 
 - 
                                        userfinal ChatSession.Builder user(String user) User identifier associated with the session. 
 - 
                                        userfinal ChatSession.Builder user(JsonField<String> user) Sets Builder.user to an arbitrary JSON value. You should usually call Builder.user with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value. 
 - 
                                        workflowfinal ChatSession.Builder workflow(ChatKitWorkflow workflow) Workflow metadata for the session. 
 - 
                                        workflowfinal ChatSession.Builder workflow(JsonField<ChatKitWorkflow> workflow) Sets Builder.workflow to an arbitrary JSON value. You should usually call Builder.workflow with a well-typed ChatKitWorkflow value instead. This method is primarily for setting the field to an undocumented or not yet supported value. 
 - 
                                        additionalPropertiesfinal ChatSession.Builder additionalProperties(Map<String, JsonValue> additionalProperties) 
 - 
                                        putAdditionalPropertyfinal ChatSession.Builder putAdditionalProperty(String key, JsonValue value) 
 - 
                                        putAllAdditionalPropertiesfinal ChatSession.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties) 
 - 
                                        removeAdditionalPropertyfinal ChatSession.Builder removeAdditionalProperty(String key) 
 - 
                                        removeAllAdditionalPropertiesfinal ChatSession.Builder removeAllAdditionalProperties(Set<String> keys) 
 - 
                                        buildfinal ChatSession build() Returns an immutable instance of ChatSession. Further updates to this Builder will not mutate the returned instance. The following fields are required: .id() .chatkitConfiguration() .clientSecret() .expiresAt() .maxRequestsPer1Minute() .rateLimits() .status() .user() .workflow()
 
- 
                                        
 
- 
                                
                            
                                
 
- 
                    
                    
                    
 
-