public class AiNameWeightedVariantsBuilder extends Object
Constructor and Description |
---|
AiNameWeightedVariantsBuilder(AiNameWeightedVariants model) |
Modifier and Type | Method and Description |
---|---|
AiNameWeightedVariants |
build()
Build AiNameWeightedVariants instance.
|
AiNameWeightedVariantsBuilder |
comments(String comments)
Set AiNameWeightedVariants.comments and return builder.
|
AiNameWeightedVariantsBuilder |
names(List<AiNameWeighted> names)
Set AiNameWeightedVariants.names and return builder.
|
public AiNameWeightedVariantsBuilder(AiNameWeightedVariants model)
public AiNameWeightedVariants build()
public AiNameWeightedVariantsBuilder names(List<AiNameWeighted> names)
names
- List of name variationspublic AiNameWeightedVariantsBuilder comments(String comments)
comments
- Usually empty; can contain extra message describing some issue occurred during processingCopyright © 2020. All rights reserved.