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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default InitialResponseSetting.BuildercodeHook(Consumer<DialogCodeHookInvocationSetting.Builder> codeHook)Sets the value of the CodeHook property for this object.InitialResponseSetting.BuildercodeHook(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.InitialResponseSetting.Builderconditional(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.InitialResponseSetting.BuilderinitialResponse(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.InitialResponseSetting.BuildernextStep(DialogState nextStep)The next step in the conversation.-
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
-
initialResponse
InitialResponseSetting.Builder initialResponse(ResponseSpecification 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:
initialResponse(ResponseSpecification)
-
nextStep
InitialResponseSetting.Builder nextStep(DialogState 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
default InitialResponseSetting.Builder nextStep(Consumer<DialogState.Builder> 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:
nextStep(DialogState)
-
conditional
InitialResponseSetting.Builder conditional(ConditionalSpecification 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:
conditional(ConditionalSpecification)
-
codeHook
InitialResponseSetting.Builder codeHook(DialogCodeHookInvocationSetting 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:
codeHook(DialogCodeHookInvocationSetting)
-
-