Interface ViewValidation.Builder

  • Method Details

    • dialect

      ViewValidation.Builder dialect(String dialect)

      The dialect of the query engine.

      Parameters:
      dialect - The dialect of the query engine.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • dialect

      The dialect of the query engine.

      Parameters:
      dialect - The dialect of the query engine.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • dialectVersion

      ViewValidation.Builder dialectVersion(String dialectVersion)

      The version of the dialect of the query engine. For example, 3.0.0.

      Parameters:
      dialectVersion - The version of the dialect of the query engine. For example, 3.0.0.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • viewValidationText

      ViewValidation.Builder viewValidationText(String viewValidationText)

      The SELECT query that defines the view, as provided by the customer.

      Parameters:
      viewValidationText - The SELECT query that defines the view, as provided by the customer.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • updateTime

      ViewValidation.Builder updateTime(Instant updateTime)

      The time of the last update.

      Parameters:
      updateTime - The time of the last update.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • state

      The state of the validation.

      Parameters:
      state - The state of the validation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • state

      The state of the validation.

      Parameters:
      state - The state of the validation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • error

      An error associated with the validation.

      Parameters:
      error - An error associated with the validation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • error

      An error associated with the validation.

      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: