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