Interface WaitCancelledDetails.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<WaitCancelledDetails.Builder,,WaitCancelledDetails> SdkBuilder<WaitCancelledDetails.Builder,,WaitCancelledDetails> SdkPojo
- Enclosing class:
WaitCancelledDetails
@Mutable
@NotThreadSafe
public static interface WaitCancelledDetails.Builder
extends SdkPojo, CopyableBuilder<WaitCancelledDetails.Builder,WaitCancelledDetails>
-
Method Summary
Modifier and TypeMethodDescriptiondefault WaitCancelledDetails.Buildererror(Consumer<EventError.Builder> error) Details about why the wait operation was cancelled.error(EventError error) Details about why the wait operation was cancelled.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 why the wait operation was cancelled.
- Parameters:
error- Details about why the wait operation was cancelled.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
error
Details about why the wait operation was cancelled.
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:
-