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