Interface TableVersionError.Builder

All Superinterfaces:
Buildable, CopyableBuilder<TableVersionError.Builder,TableVersionError>, SdkBuilder<TableVersionError.Builder,TableVersionError>, SdkPojo
Enclosing class:
TableVersionError

public static interface TableVersionError.Builder extends SdkPojo, CopyableBuilder<TableVersionError.Builder,TableVersionError>
  • Method Details

    • tableName

      TableVersionError.Builder tableName(String tableName)

      The name of the table in question.

      Parameters:
      tableName - The name of the table in question.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • versionId

      TableVersionError.Builder versionId(String versionId)

      The ID value of the version in question. A VersionID is a string representation of an integer. Each version is incremented by 1.

      Parameters:
      versionId - The ID value of the version in question. A VersionID is a string representation of an integer. Each version is incremented by 1.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • errorDetail

      TableVersionError.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 TableVersionError.Builder errorDetail(Consumer<ErrorDetail.Builder> errorDetail)

      The details about the error.

      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 errorDetail(ErrorDetail).

      Parameters:
      errorDetail - 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: