Class ErrorEvent.Error.Builder
- 
                    
                    - All Implemented Interfaces:
 
 public final class ErrorEvent.Error.BuilderA builder for Error. 
- 
                
                    
                    - 
                                
                            
                                Method Summary- 
                    
                    
                    - 
                                
                            
                                Method Detail- 
                                        messagefinal ErrorEvent.Error.Builder message(String message) A human-readable error message. 
 - 
                                        messagefinal ErrorEvent.Error.Builder message(JsonField<String> message) Sets Builder.message to an arbitrary JSON value. You should usually call Builder.message 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.Error.Builder type(String type) The type of error (e.g., "invalid_request_error", "server_error"). 
 - 
                                        typefinal ErrorEvent.Error.Builder type(JsonField<String> type) Sets Builder.type to an arbitrary JSON value. You should usually call Builder.type with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value. 
 - 
                                        codefinal ErrorEvent.Error.Builder code(String code) Error code, if any. 
 - 
                                        codefinal ErrorEvent.Error.Builder code(Optional<String> code) Alias for calling Builder.code with code.orElse(null).
 - 
                                        codefinal ErrorEvent.Error.Builder code(JsonField<String> code) Sets Builder.code to an arbitrary JSON value. You should usually call Builder.code with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value. 
 - 
                                        eventIdfinal ErrorEvent.Error.Builder eventId(String eventId) The event_id of the client event that caused the error, if applicable. 
 - 
                                        eventIdfinal ErrorEvent.Error.Builder eventId(Optional<String> eventId) Alias for calling Builder.eventId with eventId.orElse(null).
 - 
                                        eventIdfinal ErrorEvent.Error.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. 
 - 
                                        paramfinal ErrorEvent.Error.Builder param(String param) Parameter related to the error, if any. 
 - 
                                        paramfinal ErrorEvent.Error.Builder param(Optional<String> param) Alias for calling Builder.param with param.orElse(null).
 - 
                                        paramfinal ErrorEvent.Error.Builder param(JsonField<String> param) Sets Builder.param to an arbitrary JSON value. You should usually call Builder.param with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value. 
 - 
                                        additionalPropertiesfinal ErrorEvent.Error.Builder additionalProperties(Map<String, JsonValue> additionalProperties) 
 - 
                                        putAdditionalPropertyfinal ErrorEvent.Error.Builder putAdditionalProperty(String key, JsonValue value) 
 - 
                                        putAllAdditionalPropertiesfinal ErrorEvent.Error.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties) 
 - 
                                        removeAdditionalPropertyfinal ErrorEvent.Error.Builder removeAdditionalProperty(String key) 
 - 
                                        removeAllAdditionalPropertiesfinal ErrorEvent.Error.Builder removeAllAdditionalProperties(Set<String> keys) 
 - 
                                        buildfinal ErrorEvent.Error build() Returns an immutable instance of Error. Further updates to this Builder will not mutate the returned instance. The following fields are required: .message() .type()
 
- 
                                        
 
- 
                                
                            
                                
 
- 
                    
                    
                    
 
-