Class ChatCompletionUserMessageParam.Builder
- 
                    
                    - All Implemented Interfaces:
 
 public final class ChatCompletionUserMessageParam.BuilderA builder for ChatCompletionUserMessageParam. 
- 
                
                    
                    - 
                                
                            
                                Method Summary- 
                    
                    
                    - 
                                
                            
                                Method Detail- 
                                        contentfinal ChatCompletionUserMessageParam.Builder content(ChatCompletionUserMessageParam.Content content) The contents of the user message. 
 - 
                                        contentfinal ChatCompletionUserMessageParam.Builder content(JsonField<ChatCompletionUserMessageParam.Content> content) Sets Builder.content to an arbitrary JSON value. You should usually call Builder.content with a well-typed Content value instead. This method is primarily for setting the field to an undocumented or not yet supported value. 
 - 
                                        contentfinal ChatCompletionUserMessageParam.Builder content(String text) Alias for calling content with Content.ofText(text).
 - 
                                        contentOfArrayOfContentPartsfinal ChatCompletionUserMessageParam.Builder contentOfArrayOfContentParts(List<ChatCompletionContentPart> arrayOfContentParts) Alias for calling content with Content.ofArrayOfContentParts(arrayOfContentParts).
 - 
                                        rolefinal ChatCompletionUserMessageParam.Builder role(JsonValue role) 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("user")This method is primarily for setting the field to an undocumented or not yet supported value. 
 - 
                                        namefinal ChatCompletionUserMessageParam.Builder name(String name) An optional name for the participant. Provides the model information to differentiate between participants of the same role. 
 - 
                                        namefinal ChatCompletionUserMessageParam.Builder name(JsonField<String> name) Sets Builder.name to an arbitrary JSON value. You should usually call Builder.name with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value. 
 - 
                                        additionalPropertiesfinal ChatCompletionUserMessageParam.Builder additionalProperties(Map<String, JsonValue> additionalProperties) 
 - 
                                        putAdditionalPropertyfinal ChatCompletionUserMessageParam.Builder putAdditionalProperty(String key, JsonValue value) 
 - 
                                        putAllAdditionalPropertiesfinal ChatCompletionUserMessageParam.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties) 
 - 
                                        removeAdditionalPropertyfinal ChatCompletionUserMessageParam.Builder removeAdditionalProperty(String key) 
 - 
                                        removeAllAdditionalPropertiesfinal ChatCompletionUserMessageParam.Builder removeAllAdditionalProperties(Set<String> keys) 
 - 
                                        buildfinal ChatCompletionUserMessageParam build() Returns an immutable instance of ChatCompletionUserMessageParam. Further updates to this Builder will not mutate the returned instance. The following fields are required: .content()
 
- 
                                        
 
- 
                                
                            
                                
 
- 
                    
                    
                    
 
-