public static interface UnsuccessfulItem.Builder extends CopyableBuilder<UnsuccessfulItem.Builder,UnsuccessfulItem>
| Modifier and Type | Method and Description |
|---|---|
default UnsuccessfulItem.Builder |
error(Consumer<UnsuccessfulItemError.Builder> error)
Information about the error.
|
UnsuccessfulItem.Builder |
error(UnsuccessfulItemError error)
Information about the error.
|
UnsuccessfulItem.Builder |
resourceId(String resourceId)
The ID of the resource.
|
copyapply, buildUnsuccessfulItem.Builder error(UnsuccessfulItemError error)
Information about the error.
error - Information about the error.default UnsuccessfulItem.Builder error(Consumer<UnsuccessfulItemError.Builder> error)
Information about the error.
This is a convenience that creates an instance of theUnsuccessfulItemError.Builder avoiding the need
to create one manually via UnsuccessfulItemError.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to error(UnsuccessfulItemError).error - a consumer that will call methods on UnsuccessfulItemError.Buildererror(UnsuccessfulItemError)UnsuccessfulItem.Builder resourceId(String resourceId)
The ID of the resource.
resourceId - The ID of the resource.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.