Interface LambdaFunctionSucceededEventDetails.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<LambdaFunctionSucceededEventDetails.Builder,,LambdaFunctionSucceededEventDetails> SdkBuilder<LambdaFunctionSucceededEventDetails.Builder,,LambdaFunctionSucceededEventDetails> SdkPojo
- Enclosing class:
LambdaFunctionSucceededEventDetails
@Mutable
@NotThreadSafe
public static interface LambdaFunctionSucceededEventDetails.Builder
extends SdkPojo, CopyableBuilder<LambdaFunctionSucceededEventDetails.Builder,LambdaFunctionSucceededEventDetails>
-
Method Summary
Modifier and TypeMethodDescriptionThe JSON data output by the Lambda function.outputDetails(Consumer<HistoryEventExecutionDataDetails.Builder> outputDetails) Contains details about the output of an execution history event.outputDetails(HistoryEventExecutionDataDetails outputDetails) Contains details about the output of an execution history event.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
-
output
The JSON data output by the Lambda function. Length constraints apply to the payload size, and are expressed as bytes in UTF-8 encoding.
- Parameters:
output- The JSON data output by the Lambda function. Length constraints apply to the payload size, and are expressed as bytes in UTF-8 encoding.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
outputDetails
LambdaFunctionSucceededEventDetails.Builder outputDetails(HistoryEventExecutionDataDetails outputDetails) Contains details about the output of an execution history event.
- Parameters:
outputDetails- Contains details about the output of an execution history event.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
outputDetails
default LambdaFunctionSucceededEventDetails.Builder outputDetails(Consumer<HistoryEventExecutionDataDetails.Builder> outputDetails) Contains details about the output of an execution history event.
This is a convenience method that creates an instance of theHistoryEventExecutionDataDetails.Builderavoiding the need to create one manually viaHistoryEventExecutionDataDetails.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tooutputDetails(HistoryEventExecutionDataDetails).- Parameters:
outputDetails- a consumer that will call methods onHistoryEventExecutionDataDetails.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-