Interface QueryInputData.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<QueryInputData.Builder,,QueryInputData> SdkBuilder<QueryInputData.Builder,,QueryInputData> SdkPojo
- Enclosing class:
QueryInputData
public static interface QueryInputData.Builder
extends SdkPojo, CopyableBuilder<QueryInputData.Builder,QueryInputData>
-
Method Summary
Modifier and TypeMethodDescriptiondefault QueryInputData.BuilderintentInputData(Consumer<IntentInputData.Builder> intentInputData) Input information for the intent.intentInputData(IntentInputData intentInputData) Input information for the intent.default QueryInputData.BuilderqueryTextInputData(Consumer<QueryTextInputData.Builder> queryTextInputData) Input information for the query.queryTextInputData(QueryTextInputData queryTextInputData) Input information for the query.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
-
intentInputData
Input information for the intent.
- Parameters:
intentInputData- Input information for the intent.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
intentInputData
Input information for the intent.
This is a convenience method that creates an instance of theIntentInputData.Builderavoiding the need to create one manually viaIntentInputData.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tointentInputData(IntentInputData).- Parameters:
intentInputData- a consumer that will call methods onIntentInputData.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
queryTextInputData
Input information for the query.
- Parameters:
queryTextInputData- Input information for the query.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
queryTextInputData
default QueryInputData.Builder queryTextInputData(Consumer<QueryTextInputData.Builder> queryTextInputData) Input information for the query.
This is a convenience method that creates an instance of theQueryTextInputData.Builderavoiding the need to create one manually viaQueryTextInputData.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toqueryTextInputData(QueryTextInputData).- Parameters:
queryTextInputData- a consumer that will call methods onQueryTextInputData.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-