Interface ColumnError.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ColumnError.Builder,,ColumnError> SdkBuilder<ColumnError.Builder,,ColumnError> SdkPojo
- Enclosing class:
ColumnError
public static interface ColumnError.Builder
extends SdkPojo, CopyableBuilder<ColumnError.Builder,ColumnError>
-
Method Summary
Modifier and TypeMethodDescriptioncolumnName(String columnName) The name of the column that failed.default ColumnError.Buildererror(Consumer<ErrorDetail.Builder> error) An error message with the reason for the failure of an operation.error(ErrorDetail error) An error message with the reason for the failure of an operation.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
-
columnName
The name of the column that failed.
- Parameters:
columnName- The name of the column that failed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
error
An error message with the reason for the failure of an operation.
- Parameters:
error- An error message with the reason for the failure of an operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
error
An error message with the reason for the failure of an operation.
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 toerror(ErrorDetail).- Parameters:
error- 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:
-