Interface UnsuccessfulItem.Builder
- All Superinterfaces:
 Buildable,CopyableBuilder<UnsuccessfulItem.Builder,,UnsuccessfulItem> SdkBuilder<UnsuccessfulItem.Builder,,UnsuccessfulItem> SdkPojo
- Enclosing class:
 UnsuccessfulItem
public static interface UnsuccessfulItem.Builder
extends SdkPojo, CopyableBuilder<UnsuccessfulItem.Builder,UnsuccessfulItem> 
- 
Method Summary
Modifier and TypeMethodDescriptiondefault UnsuccessfulItem.BuilderInformation about the error.error(UnsuccessfulItemError error) Information about the error.resourceId(String resourceId) The ID of the resource.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, sdkFields 
- 
Method Details
- 
error
Information about the error.
- Parameters:
 error- Information about the error.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
error
Information about the error.
This is a convenience method that creates an instance of theUnsuccessfulItemError.Builderavoiding the need to create one manually viaUnsuccessfulItemError.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toerror(UnsuccessfulItemError).- Parameters:
 error- a consumer that will call methods onUnsuccessfulItemError.Builder- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 - See Also:
 
 - 
resourceId
The ID of the resource.
- Parameters:
 resourceId- The ID of the resource.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 
 -