Class TaskConfig
- java.lang.Object
-
- software.amazon.awssdk.services.comprehend.model.TaskConfig
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<TaskConfig.Builder,TaskConfig>
@Generated("software.amazon.awssdk:codegen") public final class TaskConfig extends Object implements SdkPojo, Serializable, ToCopyableBuilder<TaskConfig.Builder,TaskConfig>
Configuration about the model associated with a flywheel.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceTaskConfig.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TaskConfig.Builderbuilder()DocumentClassificationConfigdocumentClassificationConfig()Configuration required for a document classification model.EntityRecognitionConfigentityRecognitionConfig()Configuration required for an entity recognition model.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()LanguageCodelanguageCode()Language code for the language that the model supports.StringlanguageCodeAsString()Language code for the language that the model supports.List<SdkField<?>>sdkFields()static Class<? extends TaskConfig.Builder>serializableBuilderClass()TaskConfig.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
languageCode
public 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,
languageCodewill returnLanguageCode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromlanguageCodeAsString().- Returns:
- Language code for the language that the model supports.
- See Also:
LanguageCode
-
languageCodeAsString
public 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,
languageCodewill returnLanguageCode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromlanguageCodeAsString().- Returns:
- Language code for the language that the model supports.
- See Also:
LanguageCode
-
documentClassificationConfig
public final DocumentClassificationConfig documentClassificationConfig()
Configuration required for a document classification model.
- Returns:
- Configuration required for a document classification model.
-
entityRecognitionConfig
public final EntityRecognitionConfig entityRecognitionConfig()
Configuration required for an entity recognition model.
- Returns:
- Configuration required for an entity recognition model.
-
toBuilder
public TaskConfig.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<TaskConfig.Builder,TaskConfig>
-
builder
public static TaskConfig.Builder builder()
-
serializableBuilderClass
public static Class<? extends TaskConfig.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-