Class SessionCreatedEvent.Builder
- 
                    
                    
- All Implemented Interfaces:
 
public final class SessionCreatedEvent.BuilderA builder for SessionCreatedEvent.
 
- 
                
                    
                    
- 
                                
                            
                                
Method Summary
- 
                    
                    
                    
- 
                                
                            
                                
Method Detail
- 
                                        
eventId
final SessionCreatedEvent.Builder eventId(String eventId)
The unique ID of the server event.
 
- 
                                        
eventId
final SessionCreatedEvent.Builder eventId(JsonField<String> eventId)
Sets Builder.eventId to an arbitrary JSON value.
You should usually call Builder.eventId with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
 
- 
                                        
session
final SessionCreatedEvent.Builder session(Session session)
Realtime session object configuration.
 
- 
                                        
session
final SessionCreatedEvent.Builder session(JsonField<Session> session)
Sets Builder.session to an arbitrary JSON value.
You should usually call Builder.session with a well-typed Session value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
 
- 
                                        
type
final SessionCreatedEvent.Builder type(JsonValue type)
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("session.created")This method is primarily for setting the field to an undocumented or not yet supported value.
 
- 
                                        
additionalProperties
final SessionCreatedEvent.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
 
- 
                                        
putAdditionalProperty
final SessionCreatedEvent.Builder putAdditionalProperty(String key, JsonValue value)
 
- 
                                        
putAllAdditionalProperties
final SessionCreatedEvent.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
 
- 
                                        
removeAdditionalProperty
final SessionCreatedEvent.Builder removeAdditionalProperty(String key)
 
- 
                                        
removeAllAdditionalProperties
final SessionCreatedEvent.Builder removeAllAdditionalProperties(Set<String> keys)
 
- 
                                        
build
final SessionCreatedEvent build()
Returns an immutable instance of SessionCreatedEvent.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.eventId() .session() 
 - 
                                        
 
 - 
                                
                            
                                
 
 - 
                    
                    
                    
 
 -