Interface SolutionUpdateSummary.Builder

  • Method Details

    • solutionUpdateConfig

      SolutionUpdateSummary.Builder solutionUpdateConfig(SolutionUpdateConfig solutionUpdateConfig)

      The configuration details of the solution.

      Parameters:
      solutionUpdateConfig - The configuration details of the solution.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • solutionUpdateConfig

      default SolutionUpdateSummary.Builder solutionUpdateConfig(Consumer<SolutionUpdateConfig.Builder> solutionUpdateConfig)

      The configuration details of the solution.

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

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

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

      The status of the solution update. A solution update can be in one of the following states:

      CREATE PENDING > CREATE IN_PROGRESS > ACTIVE -or- CREATE FAILED

      Parameters:
      status - The status of the solution update. A solution update can be in one of the following states:

      CREATE PENDING > CREATE IN_PROGRESS > ACTIVE -or- CREATE FAILED

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • performAutoTraining

      SolutionUpdateSummary.Builder performAutoTraining(Boolean performAutoTraining)

      Whether the solution automatically creates solution versions.

      Parameters:
      performAutoTraining - Whether the solution automatically creates solution versions.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • creationDateTime

      SolutionUpdateSummary.Builder creationDateTime(Instant creationDateTime)

      The date and time (in Unix format) that the solution update was created.

      Parameters:
      creationDateTime - The date and time (in Unix format) that the solution update was created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • lastUpdatedDateTime

      SolutionUpdateSummary.Builder lastUpdatedDateTime(Instant lastUpdatedDateTime)

      The date and time (in Unix time) that the solution update was last updated.

      Parameters:
      lastUpdatedDateTime - The date and time (in Unix time) that the solution update was last updated.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • failureReason

      SolutionUpdateSummary.Builder failureReason(String failureReason)

      If a solution update fails, the reason behind the failure.

      Parameters:
      failureReason - If a solution update fails, the reason behind the failure.
      Returns:
      Returns a reference to this object so that method calls can be chained together.