Class ResponseCreateEvent.Builder
- 
                    
                    
- All Implemented Interfaces:
 
public final class ResponseCreateEvent.BuilderA builder for ResponseCreateEvent.
 
- 
                
                    
                    
- 
                                
                            
                                
Method Summary
- 
                    
                    
                    
- 
                                
                            
                                
Method Detail
- 
                                        
type
final ResponseCreateEvent.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("response.create")This method is primarily for setting the field to an undocumented or not yet supported value.
 
- 
                                        
eventId
final ResponseCreateEvent.Builder eventId(String eventId)
Optional client-generated ID used to identify this event.
 
- 
                                        
eventId
final ResponseCreateEvent.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.
 
- 
                                        
response
final ResponseCreateEvent.Builder response(ResponseCreateEvent.Response response)
Create a new Realtime response with these parameters
 
- 
                                        
response
final ResponseCreateEvent.Builder response(JsonField<ResponseCreateEvent.Response> response)
Sets Builder.response to an arbitrary JSON value.
You should usually call Builder.response with a well-typed Response value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
 
- 
                                        
additionalProperties
final ResponseCreateEvent.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
 
- 
                                        
putAdditionalProperty
final ResponseCreateEvent.Builder putAdditionalProperty(String key, JsonValue value)
 
- 
                                        
putAllAdditionalProperties
final ResponseCreateEvent.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
 
- 
                                        
removeAdditionalProperty
final ResponseCreateEvent.Builder removeAdditionalProperty(String key)
 
- 
                                        
removeAllAdditionalProperties
final ResponseCreateEvent.Builder removeAllAdditionalProperties(Set<String> keys)
 
- 
                                        
build
final ResponseCreateEvent build()
Returns an immutable instance of ResponseCreateEvent.
Further updates to this Builder will not mutate the returned instance.
 
 - 
                                        
 
 - 
                                
                            
                                
 
 - 
                    
                    
                    
 
 -