Interface QnAIntentConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<QnAIntentConfiguration.Builder,,QnAIntentConfiguration> SdkBuilder<QnAIntentConfiguration.Builder,,QnAIntentConfiguration> SdkPojo
- Enclosing class:
QnAIntentConfiguration
@Mutable
@NotThreadSafe
public static interface QnAIntentConfiguration.Builder
extends SdkPojo, CopyableBuilder<QnAIntentConfiguration.Builder,QnAIntentConfiguration>
-
Method Summary
Modifier and TypeMethodDescriptiondefault QnAIntentConfiguration.BuilderbedrockModelConfiguration(Consumer<BedrockModelSpecification.Builder> bedrockModelConfiguration) Sets the value of the BedrockModelConfiguration property for this object.bedrockModelConfiguration(BedrockModelSpecification bedrockModelConfiguration) Sets the value of the BedrockModelConfiguration property for this object.default QnAIntentConfiguration.BuilderdataSourceConfiguration(Consumer<DataSourceConfiguration.Builder> dataSourceConfiguration) Contains details about the configuration of the data source used for theAMAZON.QnAIntent.dataSourceConfiguration(DataSourceConfiguration dataSourceConfiguration) Contains details about the configuration of the data source used for theAMAZON.QnAIntent.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, sdkFieldNameToField, sdkFields
-
Method Details
-
dataSourceConfiguration
QnAIntentConfiguration.Builder dataSourceConfiguration(DataSourceConfiguration dataSourceConfiguration) Contains details about the configuration of the data source used for the
AMAZON.QnAIntent.- Parameters:
dataSourceConfiguration- Contains details about the configuration of the data source used for theAMAZON.QnAIntent.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataSourceConfiguration
default QnAIntentConfiguration.Builder dataSourceConfiguration(Consumer<DataSourceConfiguration.Builder> dataSourceConfiguration) Contains details about the configuration of the data source used for the
This is a convenience method that creates an instance of theAMAZON.QnAIntent.DataSourceConfiguration.Builderavoiding the need to create one manually viaDataSourceConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todataSourceConfiguration(DataSourceConfiguration).- Parameters:
dataSourceConfiguration- a consumer that will call methods onDataSourceConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
bedrockModelConfiguration
QnAIntentConfiguration.Builder bedrockModelConfiguration(BedrockModelSpecification bedrockModelConfiguration) Sets the value of the BedrockModelConfiguration property for this object.- Parameters:
bedrockModelConfiguration- The new value for the BedrockModelConfiguration property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
bedrockModelConfiguration
default QnAIntentConfiguration.Builder bedrockModelConfiguration(Consumer<BedrockModelSpecification.Builder> bedrockModelConfiguration) Sets the value of the BedrockModelConfiguration property for this object. This is a convenience method that creates an instance of theBedrockModelSpecification.Builderavoiding the need to create one manually viaBedrockModelSpecification.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tobedrockModelConfiguration(BedrockModelSpecification).- Parameters:
bedrockModelConfiguration- a consumer that will call methods onBedrockModelSpecification.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-