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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default ChainedInvokeDetails.Buildererror(Consumer<ErrorObject.Builder> error)Details about the chained invocation failure.ChainedInvokeDetails.Buildererror(ErrorObject error)Details about the chained invocation failure.ChainedInvokeDetails.Builderresult(String result)The response payload from the chained invocation.-
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
-
result
ChainedInvokeDetails.Builder result(String 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
ChainedInvokeDetails.Builder error(ErrorObject 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
default ChainedInvokeDetails.Builder error(Consumer<ErrorObject.Builder> 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:
error(ErrorObject)
-
-