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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default DefaultConditionalBranch.BuildernextStep(Consumer<DialogState.Builder> nextStep)The next step in the conversation.DefaultConditionalBranch.BuildernextStep(DialogState nextStep)The next step in the conversation.default DefaultConditionalBranch.Builderresponse(Consumer<ResponseSpecification.Builder> response)Sets the value of the Response property for this object.DefaultConditionalBranch.Builderresponse(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 Detail
-
nextStep
DefaultConditionalBranch.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 DefaultConditionalBranch.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)
-
response
DefaultConditionalBranch.Builder response(ResponseSpecification 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
default DefaultConditionalBranch.Builder response(Consumer<ResponseSpecification.Builder> response)
Sets the value of the Response 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 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:
response(ResponseSpecification)
-
-