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 Details

    • columnName

      ColumnError.Builder columnName(String 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 the ErrorDetail.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).

      Parameters:
      error - a consumer that will call methods on ErrorDetail.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: