Interface ChainedInvokeSucceededDetails.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ChainedInvokeSucceededDetails.Builder,,ChainedInvokeSucceededDetails> SdkBuilder<ChainedInvokeSucceededDetails.Builder,,ChainedInvokeSucceededDetails> SdkPojo
- Enclosing class:
ChainedInvokeSucceededDetails
@Mutable
@NotThreadSafe
public static interface ChainedInvokeSucceededDetails.Builder
extends SdkPojo, CopyableBuilder<ChainedInvokeSucceededDetails.Builder,ChainedInvokeSucceededDetails>
-
Method Summary
Modifier and TypeMethodDescriptionresult(Consumer<EventResult.Builder> result) The response payload from the successful operation.result(EventResult result) The response payload from the successful operation.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
-
result
The response payload from the successful operation.
- Parameters:
result- The response payload from the successful operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
result
The response payload from the successful operation.
This is a convenience method that creates an instance of theEventResult.Builderavoiding the need to create one manually viaEventResult.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toresult(EventResult).- Parameters:
result- a consumer that will call methods onEventResult.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-