Interface QueryInputData.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<QueryInputData.Builder,
,QueryInputData> SdkBuilder<QueryInputData.Builder,
,QueryInputData> SdkPojo
- Enclosing class:
QueryInputData
@Mutable
@NotThreadSafe
public static interface QueryInputData.Builder
extends SdkPojo, CopyableBuilder<QueryInputData.Builder,QueryInputData>
-
Method Summary
Modifier and TypeMethodDescriptiondefault QueryInputData.Builder
intentInputData
(Consumer<IntentInputData.Builder> intentInputData) Input information for the intent.intentInputData
(IntentInputData intentInputData) Input information for the intent.default QueryInputData.Builder
queryTextInputData
(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
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
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.Builder
avoiding the need to create one manually viaQueryTextInputData.builder()
.When the
Consumer
completes,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:
-
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.Builder
avoiding the need to create one manually viaIntentInputData.builder()
.When the
Consumer
completes,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:
-