Interface FunctionResult.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<FunctionResult.Builder,
,FunctionResult> SdkBuilder<FunctionResult.Builder,
,FunctionResult> SdkPojo
- Enclosing class:
FunctionResult
-
Method Summary
Modifier and TypeMethodDescriptionactionGroup
(String actionGroup) The action group that the function belongs to.The name of the function that was called.responseBody
(Map<String, ContentBody> responseBody) The response from the function call using the parameters.responseState
(String responseState) Controls the final response state returned to end user when API/Function execution failed.responseState
(ResponseState responseState) Controls the final response state returned to end user when API/Function execution failed.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
-
actionGroup
The action group that the function belongs to.
- Parameters:
actionGroup
- The action group that the function belongs to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
function
The name of the function that was called.
- Parameters:
function
- The name of the function that was called.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
responseBody
The response from the function call using the parameters. The response may be returned directly or from the Lambda function.
- Parameters:
responseBody
- The response from the function call using the parameters. The response may be returned directly or from the Lambda function.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
responseState
Controls the final response state returned to end user when API/Function execution failed. When this state is FAILURE, the request would fail with dependency failure exception. When this state is REPROMPT, the API/function response will be sent to model for re-prompt
- Parameters:
responseState
- Controls the final response state returned to end user when API/Function execution failed. When this state is FAILURE, the request would fail with dependency failure exception. When this state is REPROMPT, the API/function response will be sent to model for re-prompt- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
responseState
Controls the final response state returned to end user when API/Function execution failed. When this state is FAILURE, the request would fail with dependency failure exception. When this state is REPROMPT, the API/function response will be sent to model for re-prompt
- Parameters:
responseState
- Controls the final response state returned to end user when API/Function execution failed. When this state is FAILURE, the request would fail with dependency failure exception. When this state is REPROMPT, the API/function response will be sent to model for re-prompt- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-