Interface ChainedInvokeFailedDetails.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ChainedInvokeFailedDetails.Builder,,ChainedInvokeFailedDetails> SdkBuilder<ChainedInvokeFailedDetails.Builder,,ChainedInvokeFailedDetails> SdkPojo
- Enclosing class:
ChainedInvokeFailedDetails
@Mutable
@NotThreadSafe
public static interface ChainedInvokeFailedDetails.Builder
extends SdkPojo, CopyableBuilder<ChainedInvokeFailedDetails.Builder,ChainedInvokeFailedDetails>
-
Method Summary
Modifier and TypeMethodDescriptionerror(Consumer<EventError.Builder> error) Details about the chained invocation failure.error(EventError error) Details about the chained invocation failure.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
-
error
Details about the chained invocation failure.
- Parameters:
error- Details about the chained invocation failure.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
error
Details about the chained invocation failure.
This is a convenience method that creates an instance of theEventError.Builderavoiding the need to create one manually viaEventError.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toerror(EventError).- Parameters:
error- a consumer that will call methods onEventError.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-