Interface PostDialogCodeHookInvocationSpecification.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<PostDialogCodeHookInvocationSpecification.Builder,PostDialogCodeHookInvocationSpecification>,SdkBuilder<PostDialogCodeHookInvocationSpecification.Builder,PostDialogCodeHookInvocationSpecification>,SdkPojo
- Enclosing class:
- PostDialogCodeHookInvocationSpecification
public static interface PostDialogCodeHookInvocationSpecification.Builder extends SdkPojo, CopyableBuilder<PostDialogCodeHookInvocationSpecification.Builder,PostDialogCodeHookInvocationSpecification>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default PostDialogCodeHookInvocationSpecification.BuilderfailureConditional(Consumer<ConditionalSpecification.Builder> failureConditional)A list of conditional branches to evaluate after the dialog code hook throws an exception or returns with theStatefield of theIntentobject set toFailed.PostDialogCodeHookInvocationSpecification.BuilderfailureConditional(ConditionalSpecification failureConditional)A list of conditional branches to evaluate after the dialog code hook throws an exception or returns with theStatefield of theIntentobject set toFailed.default PostDialogCodeHookInvocationSpecification.BuilderfailureNextStep(Consumer<DialogState.Builder> failureNextStep)Specifies the next step the bot runs after the dialog code hook throws an exception or returns with theStatefield of theIntentobject set toFailed.PostDialogCodeHookInvocationSpecification.BuilderfailureNextStep(DialogState failureNextStep)Specifies the next step the bot runs after the dialog code hook throws an exception or returns with theStatefield of theIntentobject set toFailed.default PostDialogCodeHookInvocationSpecification.BuilderfailureResponse(Consumer<ResponseSpecification.Builder> failureResponse)Sets the value of the FailureResponse property for this object.PostDialogCodeHookInvocationSpecification.BuilderfailureResponse(ResponseSpecification failureResponse)Sets the value of the FailureResponse property for this object.default PostDialogCodeHookInvocationSpecification.BuildersuccessConditional(Consumer<ConditionalSpecification.Builder> successConditional)A list of conditional branches to evaluate after the dialog code hook finishes successfully.PostDialogCodeHookInvocationSpecification.BuildersuccessConditional(ConditionalSpecification successConditional)A list of conditional branches to evaluate after the dialog code hook finishes successfully.default PostDialogCodeHookInvocationSpecification.BuildersuccessNextStep(Consumer<DialogState.Builder> successNextStep)Specifics the next step the bot runs after the dialog code hook finishes successfully.PostDialogCodeHookInvocationSpecification.BuildersuccessNextStep(DialogState successNextStep)Specifics the next step the bot runs after the dialog code hook finishes successfully.default PostDialogCodeHookInvocationSpecification.BuildersuccessResponse(Consumer<ResponseSpecification.Builder> successResponse)Sets the value of the SuccessResponse property for this object.PostDialogCodeHookInvocationSpecification.BuildersuccessResponse(ResponseSpecification successResponse)Sets the value of the SuccessResponse property for this object.default PostDialogCodeHookInvocationSpecification.BuildertimeoutConditional(Consumer<ConditionalSpecification.Builder> timeoutConditional)A list of conditional branches to evaluate if the code hook times out.PostDialogCodeHookInvocationSpecification.BuildertimeoutConditional(ConditionalSpecification timeoutConditional)A list of conditional branches to evaluate if the code hook times out.default PostDialogCodeHookInvocationSpecification.BuildertimeoutNextStep(Consumer<DialogState.Builder> timeoutNextStep)Specifies the next step that the bot runs when the code hook times out.PostDialogCodeHookInvocationSpecification.BuildertimeoutNextStep(DialogState timeoutNextStep)Specifies the next step that the bot runs when the code hook times out.default PostDialogCodeHookInvocationSpecification.BuildertimeoutResponse(Consumer<ResponseSpecification.Builder> timeoutResponse)Sets the value of the TimeoutResponse property for this object.PostDialogCodeHookInvocationSpecification.BuildertimeoutResponse(ResponseSpecification timeoutResponse)Sets the value of the TimeoutResponse 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
-
successResponse
PostDialogCodeHookInvocationSpecification.Builder successResponse(ResponseSpecification successResponse)
Sets the value of the SuccessResponse property for this object.- Parameters:
successResponse- The new value for the SuccessResponse property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
successResponse
default PostDialogCodeHookInvocationSpecification.Builder successResponse(Consumer<ResponseSpecification.Builder> successResponse)
Sets the value of the SuccessResponse 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 tosuccessResponse(ResponseSpecification).- Parameters:
successResponse- 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:
successResponse(ResponseSpecification)
-
successNextStep
PostDialogCodeHookInvocationSpecification.Builder successNextStep(DialogState successNextStep)
Specifics the next step the bot runs after the dialog code hook finishes successfully.
- Parameters:
successNextStep- Specifics the next step the bot runs after the dialog code hook finishes successfully.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
successNextStep
default PostDialogCodeHookInvocationSpecification.Builder successNextStep(Consumer<DialogState.Builder> successNextStep)
Specifics the next step the bot runs after the dialog code hook finishes successfully.
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 tosuccessNextStep(DialogState).- Parameters:
successNextStep- 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:
successNextStep(DialogState)
-
successConditional
PostDialogCodeHookInvocationSpecification.Builder successConditional(ConditionalSpecification successConditional)
A list of conditional branches to evaluate after the dialog code hook finishes successfully.
- Parameters:
successConditional- A list of conditional branches to evaluate after the dialog code hook finishes successfully.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
successConditional
default PostDialogCodeHookInvocationSpecification.Builder successConditional(Consumer<ConditionalSpecification.Builder> successConditional)
A list of conditional branches to evaluate after the dialog code hook finishes successfully.
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 tosuccessConditional(ConditionalSpecification).- Parameters:
successConditional- 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:
successConditional(ConditionalSpecification)
-
failureResponse
PostDialogCodeHookInvocationSpecification.Builder failureResponse(ResponseSpecification failureResponse)
Sets the value of the FailureResponse property for this object.- Parameters:
failureResponse- The new value for the FailureResponse property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failureResponse
default PostDialogCodeHookInvocationSpecification.Builder failureResponse(Consumer<ResponseSpecification.Builder> failureResponse)
Sets the value of the FailureResponse 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 tofailureResponse(ResponseSpecification).- Parameters:
failureResponse- 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:
failureResponse(ResponseSpecification)
-
failureNextStep
PostDialogCodeHookInvocationSpecification.Builder failureNextStep(DialogState failureNextStep)
Specifies the next step the bot runs after the dialog code hook throws an exception or returns with the
Statefield of theIntentobject set toFailed.- Parameters:
failureNextStep- Specifies the next step the bot runs after the dialog code hook throws an exception or returns with theStatefield of theIntentobject set toFailed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failureNextStep
default PostDialogCodeHookInvocationSpecification.Builder failureNextStep(Consumer<DialogState.Builder> failureNextStep)
Specifies the next step the bot runs after the dialog code hook throws an exception or returns with the
This is a convenience method that creates an instance of theStatefield of theIntentobject set toFailed.DialogState.Builderavoiding the need to create one manually viaDialogState.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofailureNextStep(DialogState).- Parameters:
failureNextStep- 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:
failureNextStep(DialogState)
-
failureConditional
PostDialogCodeHookInvocationSpecification.Builder failureConditional(ConditionalSpecification failureConditional)
A list of conditional branches to evaluate after the dialog code hook throws an exception or returns with the
Statefield of theIntentobject set toFailed.- Parameters:
failureConditional- A list of conditional branches to evaluate after the dialog code hook throws an exception or returns with theStatefield of theIntentobject set toFailed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failureConditional
default PostDialogCodeHookInvocationSpecification.Builder failureConditional(Consumer<ConditionalSpecification.Builder> failureConditional)
A list of conditional branches to evaluate after the dialog code hook throws an exception or returns with the
This is a convenience method that creates an instance of theStatefield of theIntentobject set toFailed.ConditionalSpecification.Builderavoiding the need to create one manually viaConditionalSpecification.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofailureConditional(ConditionalSpecification).- Parameters:
failureConditional- 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:
failureConditional(ConditionalSpecification)
-
timeoutResponse
PostDialogCodeHookInvocationSpecification.Builder timeoutResponse(ResponseSpecification timeoutResponse)
Sets the value of the TimeoutResponse property for this object.- Parameters:
timeoutResponse- The new value for the TimeoutResponse property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
timeoutResponse
default PostDialogCodeHookInvocationSpecification.Builder timeoutResponse(Consumer<ResponseSpecification.Builder> timeoutResponse)
Sets the value of the TimeoutResponse 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 totimeoutResponse(ResponseSpecification).- Parameters:
timeoutResponse- 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:
timeoutResponse(ResponseSpecification)
-
timeoutNextStep
PostDialogCodeHookInvocationSpecification.Builder timeoutNextStep(DialogState timeoutNextStep)
Specifies the next step that the bot runs when the code hook times out.
- Parameters:
timeoutNextStep- Specifies the next step that the bot runs when the code hook times out.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
timeoutNextStep
default PostDialogCodeHookInvocationSpecification.Builder timeoutNextStep(Consumer<DialogState.Builder> timeoutNextStep)
Specifies the next step that the bot runs when the code hook times out.
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 totimeoutNextStep(DialogState).- Parameters:
timeoutNextStep- 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:
timeoutNextStep(DialogState)
-
timeoutConditional
PostDialogCodeHookInvocationSpecification.Builder timeoutConditional(ConditionalSpecification timeoutConditional)
A list of conditional branches to evaluate if the code hook times out.
- Parameters:
timeoutConditional- A list of conditional branches to evaluate if the code hook times out.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
timeoutConditional
default PostDialogCodeHookInvocationSpecification.Builder timeoutConditional(Consumer<ConditionalSpecification.Builder> timeoutConditional)
A list of conditional branches to evaluate if the code hook times out.
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 totimeoutConditional(ConditionalSpecification).- Parameters:
timeoutConditional- 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:
timeoutConditional(ConditionalSpecification)
-
-