Interface ThemeGenerationConfig.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ThemeGenerationConfig.Builder,,ThemeGenerationConfig> SdkBuilder<ThemeGenerationConfig.Builder,,ThemeGenerationConfig> SdkPojo
- Enclosing class:
ThemeGenerationConfig
public static interface ThemeGenerationConfig.Builder
extends SdkPojo, CopyableBuilder<ThemeGenerationConfig.Builder,ThemeGenerationConfig>
-
Method Summary
Modifier and TypeMethodDescriptiondefault ThemeGenerationConfig.BuilderfieldsForThemeGeneration(Consumer<FieldsForThemeGeneration.Builder> fieldsForThemeGeneration) Fields used to generate descriptive themes for a batch inference job.fieldsForThemeGeneration(FieldsForThemeGeneration fieldsForThemeGeneration) Fields used to generate descriptive themes for a batch inference job.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
fieldsForThemeGeneration
ThemeGenerationConfig.Builder fieldsForThemeGeneration(FieldsForThemeGeneration fieldsForThemeGeneration) Fields used to generate descriptive themes for a batch inference job.
- Parameters:
fieldsForThemeGeneration- Fields used to generate descriptive themes for a batch inference job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fieldsForThemeGeneration
default ThemeGenerationConfig.Builder fieldsForThemeGeneration(Consumer<FieldsForThemeGeneration.Builder> fieldsForThemeGeneration) Fields used to generate descriptive themes for a batch inference job.
This is a convenience method that creates an instance of theFieldsForThemeGeneration.Builderavoiding the need to create one manually viaFieldsForThemeGeneration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofieldsForThemeGeneration(FieldsForThemeGeneration).- Parameters:
fieldsForThemeGeneration- a consumer that will call methods onFieldsForThemeGeneration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-