public static interface ColumnError.Builder extends SdkPojo, CopyableBuilder<ColumnError.Builder,ColumnError>
| Modifier and Type | Method and Description |
|---|---|
ColumnError.Builder |
columnName(String columnName)
The name of the column that failed.
|
default ColumnError.Builder |
error(Consumer<ErrorDetail.Builder> error)
An error message with the reason for the failure of an operation.
|
ColumnError.Builder |
error(ErrorDetail error)
An error message with the reason for the failure of an operation.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildColumnError.Builder columnName(String columnName)
The name of the column that failed.
columnName - The name of the column that failed.ColumnError.Builder error(ErrorDetail error)
An error message with the reason for the failure of an operation.
error - An error message with the reason for the failure of an operation.default ColumnError.Builder error(Consumer<ErrorDetail.Builder> error)
An error message with the reason for the failure of an operation.
This is a convenience method 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 error(ErrorDetail).
error - a consumer that will call methods on ErrorDetail.Buildererror(ErrorDetail)Copyright © 2023. All rights reserved.