Class ErrorEvent.Builder
- 
                    
                    - All Implemented Interfaces:
 
 public final class ErrorEvent.BuilderA builder for ErrorEvent. 
- 
                
                    
                    - 
                                
                            
                                Method SummaryModifier and Type Method Description final ErrorEvent.Buildererror(ErrorEvent.Error error)Details of the error. final ErrorEvent.Buildererror(JsonField<ErrorEvent.Error> error)Sets Builder.error to an arbitrary JSON value. final ErrorEvent.BuildereventId(String eventId)The unique ID of the server event. final ErrorEvent.BuildereventId(JsonField<String> eventId)Sets Builder.eventId to an arbitrary JSON value. final ErrorEvent.Buildertype(JsonValue type)Sets the field to an arbitrary JSON value. final ErrorEvent.BuilderadditionalProperties(Map<String, JsonValue> additionalProperties)final ErrorEvent.BuilderputAdditionalProperty(String key, JsonValue value)final ErrorEvent.BuilderputAllAdditionalProperties(Map<String, JsonValue> additionalProperties)final ErrorEvent.BuilderremoveAdditionalProperty(String key)final ErrorEvent.BuilderremoveAllAdditionalProperties(Set<String> keys)final ErrorEventbuild()Returns an immutable instance of ErrorEvent. - 
                    
                    
                    - 
                                
                            
                                Method Detail- 
                                        errorfinal ErrorEvent.Builder error(ErrorEvent.Error error) Details of the error. 
 - 
                                        errorfinal ErrorEvent.Builder error(JsonField<ErrorEvent.Error> error) Sets Builder.error to an arbitrary JSON value. You should usually call Builder.error with a well-typed Error value instead. This method is primarily for setting the field to an undocumented or not yet supported value. 
 - 
                                        eventIdfinal ErrorEvent.Builder eventId(String eventId) The unique ID of the server event. 
 - 
                                        eventIdfinal ErrorEvent.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. 
 - 
                                        typefinal ErrorEvent.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("error")This method is primarily for setting the field to an undocumented or not yet supported value. 
 - 
                                        additionalPropertiesfinal ErrorEvent.Builder additionalProperties(Map<String, JsonValue> additionalProperties) 
 - 
                                        putAdditionalPropertyfinal ErrorEvent.Builder putAdditionalProperty(String key, JsonValue value) 
 - 
                                        putAllAdditionalPropertiesfinal ErrorEvent.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties) 
 - 
                                        removeAdditionalPropertyfinal ErrorEvent.Builder removeAdditionalProperty(String key) 
 - 
                                        removeAllAdditionalPropertiesfinal ErrorEvent.Builder removeAllAdditionalProperties(Set<String> keys) 
 - 
                                        buildfinal ErrorEvent build() Returns an immutable instance of ErrorEvent. Further updates to this Builder will not mutate the returned instance. The following fields are required: .error() .eventId()
 
- 
                                        
 
- 
                                
                            
                                
 
- 
                    
                    
                    
 
-