Interface StepSucceededDetails.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<StepSucceededDetails.Builder,,StepSucceededDetails> SdkBuilder<StepSucceededDetails.Builder,,StepSucceededDetails> SdkPojo
- Enclosing class:
StepSucceededDetails
@Mutable
@NotThreadSafe
public static interface StepSucceededDetails.Builder
extends SdkPojo, CopyableBuilder<StepSucceededDetails.Builder,StepSucceededDetails>
-
Method Summary
Modifier and TypeMethodDescriptiondefault StepSucceededDetails.Builderresult(Consumer<EventResult.Builder> result) The response payload from the successful operation.result(EventResult result) The response payload from the successful operation.default StepSucceededDetails.BuilderretryDetails(Consumer<RetryDetails.Builder> retryDetails) Information about retry attempts for this step operation.retryDetails(RetryDetails retryDetails) Information about retry attempts for this step 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:
-
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
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:
-