Interface ChainedInvokeDetails.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ChainedInvokeDetails.Builder,,ChainedInvokeDetails> SdkBuilder<ChainedInvokeDetails.Builder,,ChainedInvokeDetails> SdkPojo
- Enclosing class:
ChainedInvokeDetails
@Mutable
@NotThreadSafe
public static interface ChainedInvokeDetails.Builder
extends SdkPojo, CopyableBuilder<ChainedInvokeDetails.Builder,ChainedInvokeDetails>
-
Method Summary
Modifier and TypeMethodDescriptiondefault ChainedInvokeDetails.Buildererror(Consumer<ErrorObject.Builder> error) Details about the chained invocation failure.error(ErrorObject error) Details about the chained invocation failure.The response payload from the chained invocation.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 chained invocation.
- Parameters:
result- The response payload from the chained invocation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 theErrorObject.Builderavoiding the need to create one manually viaErrorObject.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toerror(ErrorObject).- Parameters:
error- a consumer that will call methods onErrorObject.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-