Interface GetRecommenderResponse.Builder

  • Method Details

    • recommenderName

      GetRecommenderResponse.Builder recommenderName(String recommenderName)

      The name of the recommender.

      Parameters:
      recommenderName - The name of the recommender.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • recommenderRecipeName

      GetRecommenderResponse.Builder recommenderRecipeName(String recommenderRecipeName)

      The name of the recipe used by the recommender to generate recommendations.

      Parameters:
      recommenderRecipeName - The name of the recipe used by the recommender to generate recommendations.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • recommenderRecipeName

      GetRecommenderResponse.Builder recommenderRecipeName(RecommenderRecipeName recommenderRecipeName)

      The name of the recipe used by the recommender to generate recommendations.

      Parameters:
      recommenderRecipeName - The name of the recipe used by the recommender to generate recommendations.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • recommenderConfig

      GetRecommenderResponse.Builder recommenderConfig(RecommenderConfig recommenderConfig)

      The configuration settings for the recommender, including parameters and settings that define its behavior.

      Parameters:
      recommenderConfig - The configuration settings for the recommender, including parameters and settings that define its behavior.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • recommenderConfig

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

      The configuration settings for the recommender, including parameters and settings that define its behavior.

      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:
    • description

      GetRecommenderResponse.Builder description(String description)

      A detailed description of the recommender providing information about its purpose and functionality.

      Parameters:
      description - A detailed description of the recommender providing information about its purpose and functionality.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • status

      The current status of the recommender, indicating whether it is active, creating, updating, or in another state.

      Parameters:
      status - The current status of the recommender, indicating whether it is active, creating, updating, or in another state.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • status

      The current status of the recommender, indicating whether it is active, creating, updating, or in another state.

      Parameters:
      status - The current status of the recommender, indicating whether it is active, creating, updating, or in another state.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • lastUpdatedAt

      GetRecommenderResponse.Builder lastUpdatedAt(Instant lastUpdatedAt)

      The timestamp of when the recommender was edited.

      Parameters:
      lastUpdatedAt - The timestamp of when the recommender was edited.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • createdAt

      The timestamp of when the recommender was created.

      Parameters:
      createdAt - The timestamp of when the recommender was created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • failureReason

      GetRecommenderResponse.Builder failureReason(String failureReason)

      If the recommender fails, provides the reason for the failure.

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

      GetRecommenderResponse.Builder latestRecommenderUpdate(RecommenderUpdate latestRecommenderUpdate)

      Information about the most recent update performed on the recommender, including status and timestamp.

      Parameters:
      latestRecommenderUpdate - Information about the most recent update performed on the recommender, including status and timestamp.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • latestRecommenderUpdate

      default GetRecommenderResponse.Builder latestRecommenderUpdate(Consumer<RecommenderUpdate.Builder> latestRecommenderUpdate)

      Information about the most recent update performed on the recommender, including status and timestamp.

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

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

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

      GetRecommenderResponse.Builder trainingMetrics(Collection<TrainingMetrics> trainingMetrics)

      A set of metrics that provide information about the recommender's training performance and accuracy.

      Parameters:
      trainingMetrics - A set of metrics that provide information about the recommender's training performance and accuracy.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • trainingMetrics

      GetRecommenderResponse.Builder trainingMetrics(TrainingMetrics... trainingMetrics)

      A set of metrics that provide information about the recommender's training performance and accuracy.

      Parameters:
      trainingMetrics - A set of metrics that provide information about the recommender's training performance and accuracy.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • trainingMetrics

      GetRecommenderResponse.Builder trainingMetrics(Consumer<TrainingMetrics.Builder>... trainingMetrics)

      A set of metrics that provide information about the recommender's training performance and accuracy.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to trainingMetrics(List<TrainingMetrics>).

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

      The tags used to organize, track, or control access for this resource.

      Parameters:
      tags - The tags used to organize, track, or control access for this resource.
      Returns:
      Returns a reference to this object so that method calls can be chained together.