public interface GeneralCategoryRecommendation
GeneralCategoryRecommendation generalCategoryRecommendation = GeneralCategoryRecommendation.builder()
.categoryName("{categoryName}")
.confidence(0.3)
.build()
| Modifier and Type | Method and Description |
|---|---|
static GeneralCategoryRecommendationBuilder |
builder() |
static GeneralCategoryRecommendationBuilder |
builder(GeneralCategoryRecommendation template) |
@NotNull String |
getCategoryName()
An English category name that is recommended for a product.
|
@NotNull Double |
getConfidence()
Probability score for the category recommendation.
|
static GeneralCategoryRecommendation |
of() |
static GeneralCategoryRecommendation |
of(GeneralCategoryRecommendation template) |
void |
setCategoryName(String categoryName) |
void |
setConfidence(Double confidence) |
static com.fasterxml.jackson.core.type.TypeReference<GeneralCategoryRecommendation> |
typeReference() |
default <T> T |
withGeneralCategoryRecommendation(Function<GeneralCategoryRecommendation,T> helper) |
@NotNull @NotNull String getCategoryName()
An English category name that is recommended for a product.
@NotNull @NotNull Double getConfidence()
Probability score for the category recommendation.
void setCategoryName(String categoryName)
void setConfidence(Double confidence)
static GeneralCategoryRecommendation of()
static GeneralCategoryRecommendation of(GeneralCategoryRecommendation template)
static GeneralCategoryRecommendationBuilder builder()
static GeneralCategoryRecommendationBuilder builder(GeneralCategoryRecommendation template)
default <T> T withGeneralCategoryRecommendation(Function<GeneralCategoryRecommendation,T> helper)
static com.fasterxml.jackson.core.type.TypeReference<GeneralCategoryRecommendation> typeReference()