@Generated(value="software.amazon.awssdk:codegen") public final class TaskConfig extends Object implements SdkPojo, Serializable, ToCopyableBuilder<TaskConfig.Builder,TaskConfig>
Configuration about the custom classifier associated with the flywheel.
| Modifier and Type | Class and Description |
|---|---|
static interface |
TaskConfig.Builder |
| Modifier and Type | Method and Description |
|---|---|
static TaskConfig.Builder |
builder() |
DocumentClassificationConfig |
documentClassificationConfig()
Configuration required for a classification model.
|
EntityRecognitionConfig |
entityRecognitionConfig()
Configuration required for an entity recognition model.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
LanguageCode |
languageCode()
Language code for the language that the model supports.
|
String |
languageCodeAsString()
Language code for the language that the model supports.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends TaskConfig.Builder> |
serializableBuilderClass() |
TaskConfig.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final LanguageCode languageCode()
Language code for the language that the model supports.
If the service returns an enum value that is not available in the current SDK version, languageCode will
return LanguageCode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
languageCodeAsString().
LanguageCodepublic final String languageCodeAsString()
Language code for the language that the model supports.
If the service returns an enum value that is not available in the current SDK version, languageCode will
return LanguageCode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
languageCodeAsString().
LanguageCodepublic final DocumentClassificationConfig documentClassificationConfig()
Configuration required for a classification model.
public final EntityRecognitionConfig entityRecognitionConfig()
Configuration required for an entity recognition model.
public TaskConfig.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<TaskConfig.Builder,TaskConfig>public static TaskConfig.Builder builder()
public static Class<? extends TaskConfig.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.