public static interface TableError.Builder extends CopyableBuilder<TableError.Builder,TableError>
Modifier and Type | Method and Description |
---|---|
default TableError.Builder |
errorDetail(Consumer<ErrorDetail.Builder> errorDetail)
Detail about the error.
|
TableError.Builder |
errorDetail(ErrorDetail errorDetail)
Detail about the error.
|
TableError.Builder |
tableName(String tableName)
Name of the table.
|
copy
applyMutation, build
TableError.Builder tableName(String tableName)
Name of the table.
tableName
- Name of the table.TableError.Builder errorDetail(ErrorDetail errorDetail)
Detail about the error.
errorDetail
- Detail about the error.default TableError.Builder errorDetail(Consumer<ErrorDetail.Builder> errorDetail)
Detail about the error.
This is a convenience that creates an instance of theErrorDetail.Builder
avoiding the need to create
one manually via ErrorDetail.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its result
is passed to errorDetail(ErrorDetail)
.errorDetail
- a consumer that will call methods on ErrorDetail.Builder
errorDetail(ErrorDetail)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.