public class Customization extends GenericModel
Modifier and Type | Class and Description |
---|---|
static class |
Customization.Status
Customization Status.
|
static class |
Customization.WordTypeToAdd
The type of words from the custom model's words resource on which to train the model:
ALL (the default): trains the model on all new words, regardless of whether they were extracted from corpora or
were added or modified by the user.
USER: trains the model only on new words that were added or modified by the user; the model is not trained on
new words extracted from corpora.
|
Constructor and Description |
---|
Customization() |
Modifier and Type | Method and Description |
---|---|
String |
getBaseModelName()
Gets the base model name.
|
Date |
getCreated()
Gets the created.
|
String |
getDescription()
Gets the description.
|
String |
getId()
Gets the customization id.
|
String |
getLanguage()
Gets the language.
|
String |
getName()
Gets the name.
|
String |
getOwner()
Gets the owner.
|
Integer |
getProgress()
Gets the progress.
|
Customization.Status |
getStatus()
Gets the status.
|
String |
getWarnings()
Gets the warnings.
|
void |
setBaseModelName(String baseModelName)
Sets the base model name.
|
void |
setCreated(Date created)
Sets the created.
|
void |
setDescription(String description)
Sets the description.
|
void |
setId(String customizationId)
Sets the customization id.
|
void |
setLanguage(String language)
Sets the language.
|
void |
setName(String name)
Sets the name.
|
void |
setOwner(String owner)
Sets the owner.
|
void |
setProgress(Integer progress)
Sets the progress.
|
void |
setStatus(Customization.Status status)
Sets the status.
|
void |
setWarnings(String warnings)
Sets the warnings.
|
equals, hashCode, toString
public String getId()
public void setId(String customizationId)
customizationId
- The customization_idpublic Date getCreated()
public void setCreated(Date created)
created
- The createdpublic String getLanguage()
public void setLanguage(String language)
language
- The languagepublic String getOwner()
public void setOwner(String owner)
owner
- The ownerpublic String getName()
public void setName(String name)
name
- The namepublic String getDescription()
public void setDescription(String description)
description
- The descriptionpublic String getBaseModelName()
public void setBaseModelName(String baseModelName)
baseModelName
- The base_model_namepublic Customization.Status getStatus()
public void setStatus(Customization.Status status)
status
- The statuspublic Integer getProgress()
public void setProgress(Integer progress)
progress
- The progresspublic String getWarnings()
public void setWarnings(String warnings)
warnings
- The warningsCopyright © 2015–2016 IBM Watson. All rights reserved.