Interface DefaultConditionalBranch.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<DefaultConditionalBranch.Builder,,DefaultConditionalBranch> SdkBuilder<DefaultConditionalBranch.Builder,,DefaultConditionalBranch> SdkPojo
- Enclosing class:
DefaultConditionalBranch
@Mutable
@NotThreadSafe
public static interface DefaultConditionalBranch.Builder
extends SdkPojo, CopyableBuilder<DefaultConditionalBranch.Builder,DefaultConditionalBranch>
-
Method Summary
Modifier and TypeMethodDescriptiondefault DefaultConditionalBranch.BuildernextStep(Consumer<DialogState.Builder> nextStep) The next step in the conversation.nextStep(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.response(ResponseSpecification response) Sets the value of the Response property for this object.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, sdkFieldNameToField, 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.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:
-
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.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:
-