Interface ViewStatus.Builder

  • Method Details

    • status

      ViewStatus.Builder status(String status)

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

      Parameters:
      status - The current status of the view 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 view operation. Valid values are SUCCEEDED, FAILED, IN_PROGRESS, or SKIPPED.

      Parameters:
      status - The current status of the view 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:
    • view

      Sets the value of the View property for this object.
      Parameters:
      view - The new value for the View property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • view

      Sets the value of the View property for this object. This is a convenience method that creates an instance of the View.Builder avoiding the need to create one manually via View.builder().

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

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

      ViewStatus.Builder errorDetails(ErrorDetails errorDetails)

      Details about any error that occurred during the view operation.

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

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

      Details about any error that occurred during the view 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: