Interface StepFailedDetails.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<StepFailedDetails.Builder,StepFailedDetails>,SdkBuilder<StepFailedDetails.Builder,StepFailedDetails>,SdkPojo
- Enclosing class:
- StepFailedDetails
@Mutable @NotThreadSafe public static interface StepFailedDetails.Builder extends SdkPojo, CopyableBuilder<StepFailedDetails.Builder,StepFailedDetails>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default StepFailedDetails.Buildererror(Consumer<EventError.Builder> error)Details about the step failure.StepFailedDetails.Buildererror(EventError error)Details about the step failure.default StepFailedDetails.BuilderretryDetails(Consumer<RetryDetails.Builder> retryDetails)Information about retry attempts for this step operation.StepFailedDetails.BuilderretryDetails(RetryDetails retryDetails)Information about retry attempts for this step operation.-
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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
error
StepFailedDetails.Builder error(EventError error)
Details about the step failure.
- Parameters:
error- Details about the step failure.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
error
default StepFailedDetails.Builder error(Consumer<EventError.Builder> error)
Details about the step 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:
error(EventError)
-
retryDetails
StepFailedDetails.Builder retryDetails(RetryDetails retryDetails)
Information about retry attempts for this step operation.
- Parameters:
retryDetails- Information about retry attempts for this step operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
retryDetails
default StepFailedDetails.Builder retryDetails(Consumer<RetryDetails.Builder> retryDetails)
Information about retry attempts for this step operation.
This is a convenience method that creates an instance of theRetryDetails.Builderavoiding the need to create one manually viaRetryDetails.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toretryDetails(RetryDetails).- Parameters:
retryDetails- a consumer that will call methods onRetryDetails.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
retryDetails(RetryDetails)
-
-