Interface DefaultConditionalBranch.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<DefaultConditionalBranch.Builder,
,DefaultConditionalBranch> SdkBuilder<DefaultConditionalBranch.Builder,
,DefaultConditionalBranch> SdkPojo
- Enclosing class:
DefaultConditionalBranch
public static interface DefaultConditionalBranch.Builder
extends SdkPojo, CopyableBuilder<DefaultConditionalBranch.Builder,DefaultConditionalBranch>
-
Method Summary
Modifier and TypeMethodDescriptiondefault DefaultConditionalBranch.Builder
nextStep
(Consumer<DialogState.Builder> nextStep) The next step in the conversation.nextStep
(DialogState nextStep) The next step in the conversation.default DefaultConditionalBranch.Builder
response
(Consumer<ResponseSpecification.Builder> response) Sets the value of the Response property for this object.response
(ResponseSpecification response) Sets the value of the Response property for this object.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 Details
-
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.Builder
avoiding the need to create one manually viaDialogState.builder()
.When the
Consumer
completes,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:
-
response
Sets the value of the Response property for this object.- Parameters:
response
- The new value for the Response property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
response
Sets the value of the Response property for this object. This is a convenience method that creates an instance of theResponseSpecification.Builder
avoiding the need to create one manually viaResponseSpecification.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toresponse(ResponseSpecification)
.- Parameters:
response
- 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:
-