Interface InitialResponseSetting.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<InitialResponseSetting.Builder,,InitialResponseSetting> SdkBuilder<InitialResponseSetting.Builder,,InitialResponseSetting> SdkPojo
- Enclosing class:
InitialResponseSetting
public static interface InitialResponseSetting.Builder
extends SdkPojo, CopyableBuilder<InitialResponseSetting.Builder,InitialResponseSetting>
-
Method Summary
Modifier and TypeMethodDescriptiondefault InitialResponseSetting.BuilderSets the value of the CodeHook property for this object.codeHook(DialogCodeHookInvocationSetting codeHook) Sets the value of the CodeHook property for this object.default InitialResponseSetting.Builderconditional(Consumer<ConditionalSpecification.Builder> conditional) Sets the value of the Conditional property for this object.conditional(ConditionalSpecification conditional) Sets the value of the Conditional property for this object.default InitialResponseSetting.BuilderinitialResponse(Consumer<ResponseSpecification.Builder> initialResponse) Sets the value of the InitialResponse property for this object.initialResponse(ResponseSpecification initialResponse) Sets the value of the InitialResponse property for this object.default InitialResponseSetting.BuildernextStep(Consumer<DialogState.Builder> nextStep) The next step in the conversation.nextStep(DialogState nextStep) The next step in the conversation.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
-
initialResponse
Sets the value of the InitialResponse property for this object.- Parameters:
initialResponse- The new value for the InitialResponse property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
initialResponse
default InitialResponseSetting.Builder initialResponse(Consumer<ResponseSpecification.Builder> initialResponse) Sets the value of the InitialResponse property for this object. This is a convenience method that creates an instance of theResponseSpecification.Builderavoiding the need to create one manually viaResponseSpecification.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toinitialResponse(ResponseSpecification).- Parameters:
initialResponse- a consumer that will call methods onResponseSpecification.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextStep
The next step in the conversation.
- Parameters:
nextStep- The next step in the conversation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextStep
The next step in the conversation.
This is a convenience method that creates an instance of theDialogState.Builderavoiding the need to create one manually viaDialogState.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tonextStep(DialogState).- Parameters:
nextStep- a consumer that will call methods onDialogState.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
conditional
Sets the value of the Conditional property for this object.- Parameters:
conditional- The new value for the Conditional property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
conditional
default InitialResponseSetting.Builder conditional(Consumer<ConditionalSpecification.Builder> conditional) Sets the value of the Conditional property for this object. This is a convenience method that creates an instance of theConditionalSpecification.Builderavoiding the need to create one manually viaConditionalSpecification.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toconditional(ConditionalSpecification).- Parameters:
conditional- a consumer that will call methods onConditionalSpecification.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
codeHook
Sets the value of the CodeHook property for this object.- Parameters:
codeHook- The new value for the CodeHook property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
codeHook
default InitialResponseSetting.Builder codeHook(Consumer<DialogCodeHookInvocationSetting.Builder> codeHook) Sets the value of the CodeHook property for this object. This is a convenience method that creates an instance of theDialogCodeHookInvocationSetting.Builderavoiding the need to create one manually viaDialogCodeHookInvocationSetting.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocodeHook(DialogCodeHookInvocationSetting).- Parameters:
codeHook- a consumer that will call methods onDialogCodeHookInvocationSetting.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-