Interface TableError.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<TableError.Builder,TableError>,SdkBuilder<TableError.Builder,TableError>,SdkPojo
- Enclosing class:
- TableError
public static interface TableError.Builder extends SdkPojo, CopyableBuilder<TableError.Builder,TableError>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default TableError.BuildererrorDetail(Consumer<ErrorDetail.Builder> errorDetail)The details about the error.TableError.BuildererrorDetail(ErrorDetail errorDetail)The details about the error.TableError.BuildertableName(String tableName)The name of the table.-
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, sdkFields
-
-
-
-
Method Detail
-
tableName
TableError.Builder tableName(String tableName)
The name of the table. For Hive compatibility, this must be entirely lowercase.
- Parameters:
tableName- The name of the table. For Hive compatibility, this must be entirely lowercase.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errorDetail
TableError.Builder errorDetail(ErrorDetail errorDetail)
The details about the error.
- Parameters:
errorDetail- The details about the error.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errorDetail
default TableError.Builder errorDetail(Consumer<ErrorDetail.Builder> errorDetail)
The details about the error.
This is a convenience method that creates an instance of theErrorDetail.Builderavoiding the need to create one manually viaErrorDetail.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toerrorDetail(ErrorDetail).- Parameters:
errorDetail- a consumer that will call methods onErrorDetail.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
errorDetail(ErrorDetail)
-
-