Interface IndexStatus.Builder

  • Method Details

    • status

      IndexStatus.Builder status(String status)

      The current status of the index operation. Valid values are SUCCEEDED, FAILED, IN_PROGRESS, or SKIPPED.

      Parameters:
      status - The current status of the index operation. Valid values are SUCCEEDED, FAILED, IN_PROGRESS, or SKIPPED.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • status

      The current status of the index operation. Valid values are SUCCEEDED, FAILED, IN_PROGRESS, or SKIPPED.

      Parameters:
      status - The current status of the index operation. Valid values are SUCCEEDED, FAILED, IN_PROGRESS, or SKIPPED.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • index

      IndexStatus.Builder index(Index index)
      Sets the value of the Index property for this object.
      Parameters:
      index - The new value for the Index property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • index

      default IndexStatus.Builder index(Consumer<Index.Builder> index)
      Sets the value of the Index property for this object. This is a convenience method that creates an instance of the Index.Builder avoiding the need to create one manually via Index.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to index(Index).

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

      IndexStatus.Builder errorDetails(ErrorDetails errorDetails)

      Details about any error that occurred during the index operation.

      Parameters:
      errorDetails - Details about any error that occurred during the index operation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • errorDetails

      default IndexStatus.Builder errorDetails(Consumer<ErrorDetails.Builder> errorDetails)

      Details about any error that occurred during the index operation.

      This is a convenience method that creates an instance of the ErrorDetails.Builder avoiding the need to create one manually via ErrorDetails.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to errorDetails(ErrorDetails).

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