Class AutoMLProblemTypeConfig
- java.lang.Object
-
- software.amazon.awssdk.services.sagemaker.model.AutoMLProblemTypeConfig
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<AutoMLProblemTypeConfig.Builder,AutoMLProblemTypeConfig>
@Generated("software.amazon.awssdk:codegen") public final class AutoMLProblemTypeConfig extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AutoMLProblemTypeConfig.Builder,AutoMLProblemTypeConfig>
A collection of settings specific to the problem type used to configure an AutoML job V2. There must be one and only one config of the following type.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceAutoMLProblemTypeConfig.Builderstatic classAutoMLProblemTypeConfig.Type
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AutoMLProblemTypeConfig.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)static AutoMLProblemTypeConfigfromImageClassificationJobConfig(Consumer<ImageClassificationJobConfig.Builder> imageClassificationJobConfig)Create an instance of this class withimageClassificationJobConfig()initialized to the given value.static AutoMLProblemTypeConfigfromImageClassificationJobConfig(ImageClassificationJobConfig imageClassificationJobConfig)Create an instance of this class withimageClassificationJobConfig()initialized to the given value.static AutoMLProblemTypeConfigfromTabularJobConfig(Consumer<TabularJobConfig.Builder> tabularJobConfig)Create an instance of this class withtabularJobConfig()initialized to the given value.static AutoMLProblemTypeConfigfromTabularJobConfig(TabularJobConfig tabularJobConfig)Create an instance of this class withtabularJobConfig()initialized to the given value.static AutoMLProblemTypeConfigfromTextClassificationJobConfig(Consumer<TextClassificationJobConfig.Builder> textClassificationJobConfig)Create an instance of this class withtextClassificationJobConfig()initialized to the given value.static AutoMLProblemTypeConfigfromTextClassificationJobConfig(TextClassificationJobConfig textClassificationJobConfig)Create an instance of this class withtextClassificationJobConfig()initialized to the given value.static AutoMLProblemTypeConfigfromTextGenerationJobConfig(Consumer<TextGenerationJobConfig.Builder> textGenerationJobConfig)Create an instance of this class withtextGenerationJobConfig()initialized to the given value.static AutoMLProblemTypeConfigfromTextGenerationJobConfig(TextGenerationJobConfig textGenerationJobConfig)Create an instance of this class withtextGenerationJobConfig()initialized to the given value.static AutoMLProblemTypeConfigfromTimeSeriesForecastingJobConfig(Consumer<TimeSeriesForecastingJobConfig.Builder> timeSeriesForecastingJobConfig)Create an instance of this class withtimeSeriesForecastingJobConfig()initialized to the given value.static AutoMLProblemTypeConfigfromTimeSeriesForecastingJobConfig(TimeSeriesForecastingJobConfig timeSeriesForecastingJobConfig)Create an instance of this class withtimeSeriesForecastingJobConfig()initialized to the given value.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()ImageClassificationJobConfigimageClassificationJobConfig()Settings used to configure an AutoML job V2 for the image classification problem type.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends AutoMLProblemTypeConfig.Builder>serializableBuilderClass()TabularJobConfigtabularJobConfig()Settings used to configure an AutoML job V2 for the tabular problem type (regression, classification).TextClassificationJobConfigtextClassificationJobConfig()Settings used to configure an AutoML job V2 for the text classification problem type.TextGenerationJobConfigtextGenerationJobConfig()Settings used to configure an AutoML job V2 for the text generation (LLMs fine-tuning) problem type.TimeSeriesForecastingJobConfigtimeSeriesForecastingJobConfig()Settings used to configure an AutoML job V2 for the time-series forecasting problem type.AutoMLProblemTypeConfig.BuildertoBuilder()StringtoString()Returns a string representation of this object.AutoMLProblemTypeConfig.Typetype()Retrieve an enum value representing which member of this object is populated.-
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
-
imageClassificationJobConfig
public final ImageClassificationJobConfig imageClassificationJobConfig()
Settings used to configure an AutoML job V2 for the image classification problem type.
- Returns:
- Settings used to configure an AutoML job V2 for the image classification problem type.
-
textClassificationJobConfig
public final TextClassificationJobConfig textClassificationJobConfig()
Settings used to configure an AutoML job V2 for the text classification problem type.
- Returns:
- Settings used to configure an AutoML job V2 for the text classification problem type.
-
timeSeriesForecastingJobConfig
public final TimeSeriesForecastingJobConfig timeSeriesForecastingJobConfig()
Settings used to configure an AutoML job V2 for the time-series forecasting problem type.
- Returns:
- Settings used to configure an AutoML job V2 for the time-series forecasting problem type.
-
tabularJobConfig
public final TabularJobConfig tabularJobConfig()
Settings used to configure an AutoML job V2 for the tabular problem type (regression, classification).
- Returns:
- Settings used to configure an AutoML job V2 for the tabular problem type (regression, classification).
-
textGenerationJobConfig
public final TextGenerationJobConfig textGenerationJobConfig()
Settings used to configure an AutoML job V2 for the text generation (LLMs fine-tuning) problem type.
The text generation models that support fine-tuning in Autopilot are currently accessible exclusively in regions supported by Canvas. Refer to the documentation of Canvas for the full list of its supported Regions.
- Returns:
- Settings used to configure an AutoML job V2 for the text generation (LLMs fine-tuning) problem type.
The text generation models that support fine-tuning in Autopilot are currently accessible exclusively in regions supported by Canvas. Refer to the documentation of Canvas for the full list of its supported Regions.
-
toBuilder
public AutoMLProblemTypeConfig.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<AutoMLProblemTypeConfig.Builder,AutoMLProblemTypeConfig>
-
builder
public static AutoMLProblemTypeConfig.Builder builder()
-
serializableBuilderClass
public static Class<? extends AutoMLProblemTypeConfig.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.
-
fromImageClassificationJobConfig
public static AutoMLProblemTypeConfig fromImageClassificationJobConfig(ImageClassificationJobConfig imageClassificationJobConfig)
Create an instance of this class withimageClassificationJobConfig()initialized to the given value.Settings used to configure an AutoML job V2 for the image classification problem type.
- Parameters:
imageClassificationJobConfig- Settings used to configure an AutoML job V2 for the image classification problem type.
-
fromImageClassificationJobConfig
public static AutoMLProblemTypeConfig fromImageClassificationJobConfig(Consumer<ImageClassificationJobConfig.Builder> imageClassificationJobConfig)
Create an instance of this class withimageClassificationJobConfig()initialized to the given value.Settings used to configure an AutoML job V2 for the image classification problem type.
- Parameters:
imageClassificationJobConfig- Settings used to configure an AutoML job V2 for the image classification problem type.
-
fromTextClassificationJobConfig
public static AutoMLProblemTypeConfig fromTextClassificationJobConfig(TextClassificationJobConfig textClassificationJobConfig)
Create an instance of this class withtextClassificationJobConfig()initialized to the given value.Settings used to configure an AutoML job V2 for the text classification problem type.
- Parameters:
textClassificationJobConfig- Settings used to configure an AutoML job V2 for the text classification problem type.
-
fromTextClassificationJobConfig
public static AutoMLProblemTypeConfig fromTextClassificationJobConfig(Consumer<TextClassificationJobConfig.Builder> textClassificationJobConfig)
Create an instance of this class withtextClassificationJobConfig()initialized to the given value.Settings used to configure an AutoML job V2 for the text classification problem type.
- Parameters:
textClassificationJobConfig- Settings used to configure an AutoML job V2 for the text classification problem type.
-
fromTimeSeriesForecastingJobConfig
public static AutoMLProblemTypeConfig fromTimeSeriesForecastingJobConfig(TimeSeriesForecastingJobConfig timeSeriesForecastingJobConfig)
Create an instance of this class withtimeSeriesForecastingJobConfig()initialized to the given value.Settings used to configure an AutoML job V2 for the time-series forecasting problem type.
- Parameters:
timeSeriesForecastingJobConfig- Settings used to configure an AutoML job V2 for the time-series forecasting problem type.
-
fromTimeSeriesForecastingJobConfig
public static AutoMLProblemTypeConfig fromTimeSeriesForecastingJobConfig(Consumer<TimeSeriesForecastingJobConfig.Builder> timeSeriesForecastingJobConfig)
Create an instance of this class withtimeSeriesForecastingJobConfig()initialized to the given value.Settings used to configure an AutoML job V2 for the time-series forecasting problem type.
- Parameters:
timeSeriesForecastingJobConfig- Settings used to configure an AutoML job V2 for the time-series forecasting problem type.
-
fromTabularJobConfig
public static AutoMLProblemTypeConfig fromTabularJobConfig(TabularJobConfig tabularJobConfig)
Create an instance of this class withtabularJobConfig()initialized to the given value.Settings used to configure an AutoML job V2 for the tabular problem type (regression, classification).
- Parameters:
tabularJobConfig- Settings used to configure an AutoML job V2 for the tabular problem type (regression, classification).
-
fromTabularJobConfig
public static AutoMLProblemTypeConfig fromTabularJobConfig(Consumer<TabularJobConfig.Builder> tabularJobConfig)
Create an instance of this class withtabularJobConfig()initialized to the given value.Settings used to configure an AutoML job V2 for the tabular problem type (regression, classification).
- Parameters:
tabularJobConfig- Settings used to configure an AutoML job V2 for the tabular problem type (regression, classification).
-
fromTextGenerationJobConfig
public static AutoMLProblemTypeConfig fromTextGenerationJobConfig(TextGenerationJobConfig textGenerationJobConfig)
Create an instance of this class withtextGenerationJobConfig()initialized to the given value.Settings used to configure an AutoML job V2 for the text generation (LLMs fine-tuning) problem type.
The text generation models that support fine-tuning in Autopilot are currently accessible exclusively in regions supported by Canvas. Refer to the documentation of Canvas for the full list of its supported Regions.
- Parameters:
textGenerationJobConfig- Settings used to configure an AutoML job V2 for the text generation (LLMs fine-tuning) problem type.The text generation models that support fine-tuning in Autopilot are currently accessible exclusively in regions supported by Canvas. Refer to the documentation of Canvas for the full list of its supported Regions.
-
fromTextGenerationJobConfig
public static AutoMLProblemTypeConfig fromTextGenerationJobConfig(Consumer<TextGenerationJobConfig.Builder> textGenerationJobConfig)
Create an instance of this class withtextGenerationJobConfig()initialized to the given value.Settings used to configure an AutoML job V2 for the text generation (LLMs fine-tuning) problem type.
The text generation models that support fine-tuning in Autopilot are currently accessible exclusively in regions supported by Canvas. Refer to the documentation of Canvas for the full list of its supported Regions.
- Parameters:
textGenerationJobConfig- Settings used to configure an AutoML job V2 for the text generation (LLMs fine-tuning) problem type.The text generation models that support fine-tuning in Autopilot are currently accessible exclusively in regions supported by Canvas. Refer to the documentation of Canvas for the full list of its supported Regions.
-
type
public AutoMLProblemTypeConfig.Type type()
Retrieve an enum value representing which member of this object is populated. When this class is returned in a service response, this will beAutoMLProblemTypeConfig.Type.UNKNOWN_TO_SDK_VERSIONif the service returned a member that is only known to a newer SDK version. When this class is created directly in your code, this will beAutoMLProblemTypeConfig.Type.UNKNOWN_TO_SDK_VERSIONif zero members are set, andnullif more than one member is set.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-