Class Moderation.Categories.Builder
- 
                    
                    - All Implemented Interfaces:
 
 public final class Moderation.Categories.BuilderA builder for Categories. 
- 
                
                    
                    - 
                                
                            
                                Method SummaryModifier and Type Method Description final Moderation.Categories.Builderharassment(Boolean harassment)Content that expresses, incites, or promotes harassing language towards any target. final Moderation.Categories.Builderharassment(JsonField<Boolean> harassment)Sets Builder.harassment to an arbitrary JSON value. final Moderation.Categories.BuilderharassmentThreatening(Boolean harassmentThreatening)Harassment content that also includes violence or serious harm towards any target. final Moderation.Categories.BuilderharassmentThreatening(JsonField<Boolean> harassmentThreatening)Sets Builder.harassmentThreatening to an arbitrary JSON value. final Moderation.Categories.Builderhate(Boolean hate)Content that expresses, incites, or promotes hate based on race, gender, ethnicity, religion, nationality, sexual orientation, disability status, or caste. final Moderation.Categories.Builderhate(JsonField<Boolean> hate)Sets Builder.hate to an arbitrary JSON value. final Moderation.Categories.BuilderhateThreatening(Boolean hateThreatening)Hateful content that also includes violence or serious harm towards the targeted group based on race, gender, ethnicity, religion, nationality, sexual orientation, disability status, or caste. final Moderation.Categories.BuilderhateThreatening(JsonField<Boolean> hateThreatening)Sets Builder.hateThreatening to an arbitrary JSON value. final Moderation.Categories.Builderillicit(Boolean illicit)Content that includes instructions or advice that facilitate the planning or execution of wrongdoing, or that gives advice or instruction on how to commit illicit acts. final Moderation.Categories.Builderillicit(Boolean illicit)Alias for Builder.illicit. final Moderation.Categories.Builderillicit(Optional<Boolean> illicit)Alias for calling Builder.illicit with illicit.orElse(null).final Moderation.Categories.Builderillicit(JsonField<Boolean> illicit)Sets Builder.illicit to an arbitrary JSON value. final Moderation.Categories.BuilderillicitViolent(Boolean illicitViolent)Content that includes instructions or advice that facilitate the planning or execution of wrongdoing that also includes violence, or that gives advice or instruction on the procurement of any weapon. final Moderation.Categories.BuilderillicitViolent(Boolean illicitViolent)Alias for Builder.illicitViolent. final Moderation.Categories.BuilderillicitViolent(Optional<Boolean> illicitViolent)Alias for calling Builder.illicitViolent with illicitViolent.orElse(null).final Moderation.Categories.BuilderillicitViolent(JsonField<Boolean> illicitViolent)Sets Builder.illicitViolent to an arbitrary JSON value. final Moderation.Categories.BuilderselfHarm(Boolean selfHarm)Content that promotes, encourages, or depicts acts of self-harm, such as suicide, cutting, and eating disorders. final Moderation.Categories.BuilderselfHarm(JsonField<Boolean> selfHarm)Sets Builder.selfHarm to an arbitrary JSON value. final Moderation.Categories.BuilderselfHarmInstructions(Boolean selfHarmInstructions)Content that encourages performing acts of self-harm, such as suicide, cutting, and eating disorders, or that gives instructions or advice on how to commit such acts. final Moderation.Categories.BuilderselfHarmInstructions(JsonField<Boolean> selfHarmInstructions)Sets Builder.selfHarmInstructions to an arbitrary JSON value. final Moderation.Categories.BuilderselfHarmIntent(Boolean selfHarmIntent)Content where the speaker expresses that they are engaging or intend to engage in acts of self-harm, such as suicide, cutting, and eating disorders. final Moderation.Categories.BuilderselfHarmIntent(JsonField<Boolean> selfHarmIntent)Sets Builder.selfHarmIntent to an arbitrary JSON value. final Moderation.Categories.Buildersexual(Boolean sexual)Content meant to arouse sexual excitement, such as the description of sexual activity, or that promotes sexual services (excluding sex education and wellness). final Moderation.Categories.Buildersexual(JsonField<Boolean> sexual)Sets Builder.sexual to an arbitrary JSON value. final Moderation.Categories.BuildersexualMinors(Boolean sexualMinors)Sexual content that includes an individual who is under 18 years old. final Moderation.Categories.BuildersexualMinors(JsonField<Boolean> sexualMinors)Sets Builder.sexualMinors to an arbitrary JSON value. final Moderation.Categories.Builderviolence(Boolean violence)Content that depicts death, violence, or physical injury. final Moderation.Categories.Builderviolence(JsonField<Boolean> violence)Sets Builder.violence to an arbitrary JSON value. final Moderation.Categories.BuilderviolenceGraphic(Boolean violenceGraphic)Content that depicts death, violence, or physical injury in graphic detail. final Moderation.Categories.BuilderviolenceGraphic(JsonField<Boolean> violenceGraphic)Sets Builder.violenceGraphic to an arbitrary JSON value. final Moderation.Categories.BuilderadditionalProperties(Map<String, JsonValue> additionalProperties)final Moderation.Categories.BuilderputAdditionalProperty(String key, JsonValue value)final Moderation.Categories.BuilderputAllAdditionalProperties(Map<String, JsonValue> additionalProperties)final Moderation.Categories.BuilderremoveAdditionalProperty(String key)final Moderation.Categories.BuilderremoveAllAdditionalProperties(Set<String> keys)final Moderation.Categoriesbuild()Returns an immutable instance of Categories. - 
                    
                    
                    - 
                                
                            
                                Method Detail- 
                                        harassmentfinal Moderation.Categories.Builder harassment(Boolean harassment) Content that expresses, incites, or promotes harassing language towards any target. 
 - 
                                        harassmentfinal Moderation.Categories.Builder harassment(JsonField<Boolean> harassment) Sets Builder.harassment to an arbitrary JSON value. You should usually call Builder.harassment with a well-typed Boolean value instead. This method is primarily for setting the field to an undocumented or not yet supported value. 
 - 
                                        harassmentThreateningfinal Moderation.Categories.Builder harassmentThreatening(Boolean harassmentThreatening) Harassment content that also includes violence or serious harm towards any target. 
 - 
                                        harassmentThreateningfinal Moderation.Categories.Builder harassmentThreatening(JsonField<Boolean> harassmentThreatening) Sets Builder.harassmentThreatening to an arbitrary JSON value. You should usually call Builder.harassmentThreatening with a well-typed Boolean value instead. This method is primarily for setting the field to an undocumented or not yet supported value. 
 - 
                                        hatefinal Moderation.Categories.Builder hate(Boolean hate) Content that expresses, incites, or promotes hate based on race, gender, ethnicity, religion, nationality, sexual orientation, disability status, or caste. Hateful content aimed at non-protected groups (e.g., chess players) is harassment. 
 - 
                                        hatefinal Moderation.Categories.Builder hate(JsonField<Boolean> hate) Sets Builder.hate to an arbitrary JSON value. You should usually call Builder.hate with a well-typed Boolean value instead. This method is primarily for setting the field to an undocumented or not yet supported value. 
 - 
                                        hateThreateningfinal Moderation.Categories.Builder hateThreatening(Boolean hateThreatening) Hateful content that also includes violence or serious harm towards the targeted group based on race, gender, ethnicity, religion, nationality, sexual orientation, disability status, or caste. 
 - 
                                        hateThreateningfinal Moderation.Categories.Builder hateThreatening(JsonField<Boolean> hateThreatening) Sets Builder.hateThreatening to an arbitrary JSON value. You should usually call Builder.hateThreatening with a well-typed Boolean value instead. This method is primarily for setting the field to an undocumented or not yet supported value. 
 - 
                                        illicitfinal Moderation.Categories.Builder illicit(Boolean illicit) Content that includes instructions or advice that facilitate the planning or execution of wrongdoing, or that gives advice or instruction on how to commit illicit acts. For example, "how to shoplift" would fit this category. 
 - 
                                        illicitfinal Moderation.Categories.Builder illicit(Boolean illicit) Alias for Builder.illicit. This unboxed primitive overload exists for backwards compatibility. 
 - 
                                        illicitfinal Moderation.Categories.Builder illicit(Optional<Boolean> illicit) Alias for calling Builder.illicit with illicit.orElse(null).
 - 
                                        illicitfinal Moderation.Categories.Builder illicit(JsonField<Boolean> illicit) Sets Builder.illicit to an arbitrary JSON value. You should usually call Builder.illicit with a well-typed Boolean value instead. This method is primarily for setting the field to an undocumented or not yet supported value. 
 - 
                                        illicitViolentfinal Moderation.Categories.Builder illicitViolent(Boolean illicitViolent) Content that includes instructions or advice that facilitate the planning or execution of wrongdoing that also includes violence, or that gives advice or instruction on the procurement of any weapon. 
 - 
                                        illicitViolentfinal Moderation.Categories.Builder illicitViolent(Boolean illicitViolent) Alias for Builder.illicitViolent. This unboxed primitive overload exists for backwards compatibility. 
 - 
                                        illicitViolentfinal Moderation.Categories.Builder illicitViolent(Optional<Boolean> illicitViolent) Alias for calling Builder.illicitViolent with illicitViolent.orElse(null).
 - 
                                        illicitViolentfinal Moderation.Categories.Builder illicitViolent(JsonField<Boolean> illicitViolent) Sets Builder.illicitViolent to an arbitrary JSON value. You should usually call Builder.illicitViolent with a well-typed Boolean value instead. This method is primarily for setting the field to an undocumented or not yet supported value. 
 - 
                                        selfHarmfinal Moderation.Categories.Builder selfHarm(Boolean selfHarm) Content that promotes, encourages, or depicts acts of self-harm, such as suicide, cutting, and eating disorders. 
 - 
                                        selfHarmfinal Moderation.Categories.Builder selfHarm(JsonField<Boolean> selfHarm) Sets Builder.selfHarm to an arbitrary JSON value. You should usually call Builder.selfHarm with a well-typed Boolean value instead. This method is primarily for setting the field to an undocumented or not yet supported value. 
 - 
                                        selfHarmInstructionsfinal Moderation.Categories.Builder selfHarmInstructions(Boolean selfHarmInstructions) Content that encourages performing acts of self-harm, such as suicide, cutting, and eating disorders, or that gives instructions or advice on how to commit such acts. 
 - 
                                        selfHarmInstructionsfinal Moderation.Categories.Builder selfHarmInstructions(JsonField<Boolean> selfHarmInstructions) Sets Builder.selfHarmInstructions to an arbitrary JSON value. You should usually call Builder.selfHarmInstructions with a well-typed Boolean value instead. This method is primarily for setting the field to an undocumented or not yet supported value. 
 - 
                                        selfHarmIntentfinal Moderation.Categories.Builder selfHarmIntent(Boolean selfHarmIntent) Content where the speaker expresses that they are engaging or intend to engage in acts of self-harm, such as suicide, cutting, and eating disorders. 
 - 
                                        selfHarmIntentfinal Moderation.Categories.Builder selfHarmIntent(JsonField<Boolean> selfHarmIntent) Sets Builder.selfHarmIntent to an arbitrary JSON value. You should usually call Builder.selfHarmIntent with a well-typed Boolean value instead. This method is primarily for setting the field to an undocumented or not yet supported value. 
 - 
                                        sexualfinal Moderation.Categories.Builder sexual(Boolean sexual) Content meant to arouse sexual excitement, such as the description of sexual activity, or that promotes sexual services (excluding sex education and wellness). 
 - 
                                        sexualfinal Moderation.Categories.Builder sexual(JsonField<Boolean> sexual) Sets Builder.sexual to an arbitrary JSON value. You should usually call Builder.sexual with a well-typed Boolean value instead. This method is primarily for setting the field to an undocumented or not yet supported value. 
 - 
                                        sexualMinorsfinal Moderation.Categories.Builder sexualMinors(Boolean sexualMinors) Sexual content that includes an individual who is under 18 years old. 
 - 
                                        sexualMinorsfinal Moderation.Categories.Builder sexualMinors(JsonField<Boolean> sexualMinors) Sets Builder.sexualMinors to an arbitrary JSON value. You should usually call Builder.sexualMinors with a well-typed Boolean value instead. This method is primarily for setting the field to an undocumented or not yet supported value. 
 - 
                                        violencefinal Moderation.Categories.Builder violence(Boolean violence) Content that depicts death, violence, or physical injury. 
 - 
                                        violencefinal Moderation.Categories.Builder violence(JsonField<Boolean> violence) Sets Builder.violence to an arbitrary JSON value. You should usually call Builder.violence with a well-typed Boolean value instead. This method is primarily for setting the field to an undocumented or not yet supported value. 
 - 
                                        violenceGraphicfinal Moderation.Categories.Builder violenceGraphic(Boolean violenceGraphic) Content that depicts death, violence, or physical injury in graphic detail. 
 - 
                                        violenceGraphicfinal Moderation.Categories.Builder violenceGraphic(JsonField<Boolean> violenceGraphic) Sets Builder.violenceGraphic to an arbitrary JSON value. You should usually call Builder.violenceGraphic with a well-typed Boolean value instead. This method is primarily for setting the field to an undocumented or not yet supported value. 
 - 
                                        additionalPropertiesfinal Moderation.Categories.Builder additionalProperties(Map<String, JsonValue> additionalProperties) 
 - 
                                        putAdditionalPropertyfinal Moderation.Categories.Builder putAdditionalProperty(String key, JsonValue value) 
 - 
                                        putAllAdditionalPropertiesfinal Moderation.Categories.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties) 
 - 
                                        removeAdditionalPropertyfinal Moderation.Categories.Builder removeAdditionalProperty(String key) 
 - 
                                        removeAllAdditionalPropertiesfinal Moderation.Categories.Builder removeAllAdditionalProperties(Set<String> keys) 
 - 
                                        buildfinal Moderation.Categories build() Returns an immutable instance of Categories. Further updates to this Builder will not mutate the returned instance. The following fields are required: .harassment() .harassmentThreatening() .hate() .hateThreatening() .illicit() .illicitViolent() .selfHarm() .selfHarmInstructions() .selfHarmIntent() .sexual() .sexualMinors() .violence() .violenceGraphic()
 
- 
                                        
 
- 
                                
                            
                                
 
- 
                    
                    
                    
 
-