Interface RecommenderUpdateSummary.Builder

  • Method Details

    • recommenderConfig

      RecommenderUpdateSummary.Builder recommenderConfig(RecommenderConfig recommenderConfig)

      The configuration details of the recommender update.

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

      default RecommenderUpdateSummary.Builder recommenderConfig(Consumer<RecommenderConfig.Builder> recommenderConfig)

      The configuration details of the recommender update.

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

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

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

      RecommenderUpdateSummary.Builder creationDateTime(Instant creationDateTime)

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

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

      RecommenderUpdateSummary.Builder lastUpdatedDateTime(Instant lastUpdatedDateTime)

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

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

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

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

      Parameters:
      status - The status of the recommender update. A recommender 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.
    • failureReason

      RecommenderUpdateSummary.Builder failureReason(String failureReason)

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

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