Interface QnAIntentConfiguration.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<QnAIntentConfiguration.Builder,QnAIntentConfiguration>,SdkBuilder<QnAIntentConfiguration.Builder,QnAIntentConfiguration>,SdkPojo
- Enclosing class:
- QnAIntentConfiguration
public static interface QnAIntentConfiguration.Builder extends SdkPojo, CopyableBuilder<QnAIntentConfiguration.Builder,QnAIntentConfiguration>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default QnAIntentConfiguration.BuilderbedrockModelConfiguration(Consumer<BedrockModelSpecification.Builder> bedrockModelConfiguration)Sets the value of the BedrockModelConfiguration property for this object.QnAIntentConfiguration.BuilderbedrockModelConfiguration(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.QnAIntentConfiguration.BuilderdataSourceConfiguration(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
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
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:
dataSourceConfiguration(DataSourceConfiguration)
-
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:
bedrockModelConfiguration(BedrockModelSpecification)
-
-