Class AddFeedbackOptions.Builder

java.lang.Object
com.ibm.watson.compare_comply.v1.model.AddFeedbackOptions.Builder
Enclosing class:
AddFeedbackOptions

public static class AddFeedbackOptions.Builder
extends Object
Builder.
  • Constructor Details

    • Builder

      public Builder()
      Instantiates a new builder.
    • Builder

      public Builder​(FeedbackDataInput feedbackData)
      Instantiates a new builder with required properties.
      Parameters:
      feedbackData - the feedbackData
  • Method Details

    • build

      public AddFeedbackOptions build()
      Builds a AddFeedbackOptions.
      Returns:
      the new AddFeedbackOptions instance
    • feedbackData

      public AddFeedbackOptions.Builder feedbackData​(FeedbackDataInput feedbackData)
      Set the feedbackData.
      Parameters:
      feedbackData - the feedbackData
      Returns:
      the AddFeedbackOptions builder
    • userId

      public AddFeedbackOptions.Builder userId​(String userId)
      Set the userId.
      Parameters:
      userId - the userId
      Returns:
      the AddFeedbackOptions builder
    • comment

      public AddFeedbackOptions.Builder comment​(String comment)
      Set the comment.
      Parameters:
      comment - the comment
      Returns:
      the AddFeedbackOptions builder