@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TaskConfig extends Object implements Serializable, Cloneable, StructuredPojo
Configuration about the model associated with a flywheel.
| Constructor and Description |
|---|
TaskConfig() |
| Modifier and Type | Method and Description |
|---|---|
TaskConfig |
clone() |
boolean |
equals(Object obj) |
DocumentClassificationConfig |
getDocumentClassificationConfig()
Configuration required for a document 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 document 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 document 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.LanguageCodepublic String getLanguageCode()
Language code for the language that the model supports.
LanguageCodepublic TaskConfig withLanguageCode(String languageCode)
Language code for the language that the model supports.
languageCode - Language code for the language that the model supports.LanguageCodepublic TaskConfig withLanguageCode(LanguageCode languageCode)
Language code for the language that the model supports.
languageCode - Language code for the language that the model supports.LanguageCodepublic void setDocumentClassificationConfig(DocumentClassificationConfig documentClassificationConfig)
Configuration required for a document classification model.
documentClassificationConfig - Configuration required for a document classification model.public DocumentClassificationConfig getDocumentClassificationConfig()
Configuration required for a document classification model.
public TaskConfig withDocumentClassificationConfig(DocumentClassificationConfig documentClassificationConfig)
Configuration required for a document classification model.
documentClassificationConfig - Configuration required for a document 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 ObjectObject.toString()public TaskConfig clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.