Class ModerationCreateParams.Body.Builder
- 
                    
                    - All Implemented Interfaces:
 
 public final class ModerationCreateParams.Body.BuilderA builder for Body. 
- 
                
                    
                    - 
                                
                            
                                Method Summary- 
                    
                    
                    - 
                                
                            
                                Method Detail- 
                                        inputfinal ModerationCreateParams.Body.Builder input(ModerationCreateParams.Input input) Input (or inputs) to classify. Can be a single string, an array of strings, or an array of multi-modal input objects similar to other models. 
 - 
                                        inputfinal ModerationCreateParams.Body.Builder input(JsonField<ModerationCreateParams.Input> input) Sets Builder.input to an arbitrary JSON value. You should usually call Builder.input with a well-typed Input value instead. This method is primarily for setting the field to an undocumented or not yet supported value. 
 - 
                                        inputfinal ModerationCreateParams.Body.Builder input(String string) Alias for calling input with Input.ofString(string).
 - 
                                        inputOfStringsfinal ModerationCreateParams.Body.Builder inputOfStrings(List<String> strings) Alias for calling input with Input.ofStrings(strings).
 - 
                                        inputOfModerationMultiModalArrayfinal ModerationCreateParams.Body.Builder inputOfModerationMultiModalArray(List<ModerationMultiModalInput> moderationMultiModalArray) Alias for calling input with Input.ofModerationMultiModalArray(moderationMultiModalArray).
 - 
                                        modelfinal ModerationCreateParams.Body.Builder model(ModerationModel model) The content moderation model you would like to use. Learn more in the moderation guide, and learn about available models here. 
 - 
                                        modelfinal ModerationCreateParams.Body.Builder model(JsonField<ModerationModel> model) Sets Builder.model to an arbitrary JSON value. You should usually call Builder.model with a well-typed ModerationModel value instead. This method is primarily for setting the field to an undocumented or not yet supported value. 
 - 
                                        modelfinal ModerationCreateParams.Body.Builder model(String value) Sets model to an arbitrary String. You should usually call model with a well-typed ModerationModel constant instead. This method is primarily for setting the field to an undocumented or not yet supported value. 
 - 
                                        additionalPropertiesfinal ModerationCreateParams.Body.Builder additionalProperties(Map<String, JsonValue> additionalProperties) 
 - 
                                        putAdditionalPropertyfinal ModerationCreateParams.Body.Builder putAdditionalProperty(String key, JsonValue value) 
 - 
                                        putAllAdditionalPropertiesfinal ModerationCreateParams.Body.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties) 
 - 
                                        removeAdditionalPropertyfinal ModerationCreateParams.Body.Builder removeAdditionalProperty(String key) 
 - 
                                        removeAllAdditionalPropertiesfinal ModerationCreateParams.Body.Builder removeAllAdditionalProperties(Set<String> keys) 
 - 
                                        buildfinal ModerationCreateParams.Body build() Returns an immutable instance of Body. Further updates to this Builder will not mutate the returned instance. The following fields are required: .input()
 
- 
                                        
 
- 
                                
                            
                                
 
- 
                    
                    
                    
 
-