Interface Progress.Builder

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

@Mutable @NotThreadSafe public static interface Progress.Builder extends SdkPojo, CopyableBuilder<Progress.Builder,Progress>
  • Method Details

    • stepsCompleted

      Progress.Builder stepsCompleted(Integer stepsCompleted)

      The number of generation steps that have been completed.

      Parameters:
      stepsCompleted - The number of generation steps that have been completed.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • totalSteps

      Progress.Builder totalSteps(Integer totalSteps)

      The total number of steps in the generation process.

      Parameters:
      totalSteps - The total number of steps in the generation process.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • completionPercentage

      Progress.Builder completionPercentage(Double completionPercentage)

      The completion percentage of the generation process (0-100).

      Parameters:
      completionPercentage - The completion percentage of the generation process (0-100).
      Returns:
      Returns a reference to this object so that method calls can be chained together.