Interface InvocationResultMember.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<InvocationResultMember.Builder,
,InvocationResultMember> SdkBuilder<InvocationResultMember.Builder,
,InvocationResultMember> SdkPojo
- Enclosing class:
InvocationResultMember
public static interface InvocationResultMember.Builder
extends SdkPojo, CopyableBuilder<InvocationResultMember.Builder,InvocationResultMember>
-
Method Summary
Modifier and TypeMethodDescriptiondefault InvocationResultMember.Builder
apiResult
(Consumer<ApiResult.Builder> apiResult) The result from the API response from the action group invocation.The result from the API response from the action group invocation.default InvocationResultMember.Builder
functionResult
(Consumer<FunctionResult.Builder> functionResult) The result from the function from the action group invocation.functionResult
(FunctionResult functionResult) The result from the function from the action group invocation.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
-
apiResult
The result from the API response from the action group invocation.
- Parameters:
apiResult
- The result from the API response from the action group invocation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
apiResult
The result from the API response from the action group invocation.
This is a convenience method that creates an instance of theApiResult.Builder
avoiding the need to create one manually viaApiResult.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toapiResult(ApiResult)
.- Parameters:
apiResult
- a consumer that will call methods onApiResult.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
functionResult
The result from the function from the action group invocation.
- Parameters:
functionResult
- The result from the function from the action group invocation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
functionResult
default InvocationResultMember.Builder functionResult(Consumer<FunctionResult.Builder> functionResult) The result from the function from the action group invocation.
This is a convenience method that creates an instance of theFunctionResult.Builder
avoiding the need to create one manually viaFunctionResult.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tofunctionResult(FunctionResult)
.- Parameters:
functionResult
- a consumer that will call methods onFunctionResult.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-