@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TaskConfig extends Object implements Serializable, Cloneable, StructuredPojo
Configuration about the custom classifier associated with the flywheel.
Constructor and Description |
---|
TaskConfig() |
Modifier and Type | Method and Description |
---|---|
TaskConfig |
clone() |
boolean |
equals(Object obj) |
DocumentClassificationConfig |
getDocumentClassificationConfig()
Configuration required for a classification model.
|
EntityRecognitionConfig |
getEntityRecognitionConfig()
Configuration required for an entity recognition model.
|
String |
getLanguageCode()
Language code for the language that the model supports.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDocumentClassificationConfig(DocumentClassificationConfig documentClassificationConfig)
Configuration required for a classification model.
|
void |
setEntityRecognitionConfig(EntityRecognitionConfig entityRecognitionConfig)
Configuration required for an entity recognition model.
|
void |
setLanguageCode(String languageCode)
Language code for the language that the model supports.
|
String |
toString()
Returns a string representation of this object.
|
TaskConfig |
withDocumentClassificationConfig(DocumentClassificationConfig documentClassificationConfig)
Configuration required for a classification model.
|
TaskConfig |
withEntityRecognitionConfig(EntityRecognitionConfig entityRecognitionConfig)
Configuration required for an entity recognition model.
|
TaskConfig |
withLanguageCode(LanguageCode languageCode)
Language code for the language that the model supports.
|
TaskConfig |
withLanguageCode(String languageCode)
Language code for the language that the model supports.
|
public void setLanguageCode(String languageCode)
Language code for the language that the model supports.
languageCode
- Language code for the language that the model supports.LanguageCode
public String getLanguageCode()
Language code for the language that the model supports.
LanguageCode
public TaskConfig withLanguageCode(String languageCode)
Language code for the language that the model supports.
languageCode
- Language code for the language that the model supports.LanguageCode
public TaskConfig withLanguageCode(LanguageCode languageCode)
Language code for the language that the model supports.
languageCode
- Language code for the language that the model supports.LanguageCode
public void setDocumentClassificationConfig(DocumentClassificationConfig documentClassificationConfig)
Configuration required for a classification model.
documentClassificationConfig
- Configuration required for a classification model.public DocumentClassificationConfig getDocumentClassificationConfig()
Configuration required for a classification model.
public TaskConfig withDocumentClassificationConfig(DocumentClassificationConfig documentClassificationConfig)
Configuration required for a classification model.
documentClassificationConfig
- Configuration required for a classification model.public void setEntityRecognitionConfig(EntityRecognitionConfig entityRecognitionConfig)
Configuration required for an entity recognition model.
entityRecognitionConfig
- Configuration required for an entity recognition model.public EntityRecognitionConfig getEntityRecognitionConfig()
Configuration required for an entity recognition model.
public TaskConfig withEntityRecognitionConfig(EntityRecognitionConfig entityRecognitionConfig)
Configuration required for an entity recognition model.
entityRecognitionConfig
- Configuration required for an entity recognition model.public String toString()
toString
in class Object
Object.toString()
public TaskConfig clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.