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 Summary
Constructors Constructor Description Builder()Instantiates a new builder.Builder(FeedbackDataInput feedbackData)Instantiates a new builder with required properties. -
Method Summary
Modifier and Type Method Description AddFeedbackOptionsbuild()Builds a AddFeedbackOptions.AddFeedbackOptions.Buildercomment(String comment)Set the comment.AddFeedbackOptions.BuilderfeedbackData(FeedbackDataInput feedbackData)Set the feedbackData.AddFeedbackOptions.BuilderuserId(String userId)Set the userId.
-
Constructor Details
-
Builder
public Builder()Instantiates a new builder. -
Builder
Instantiates a new builder with required properties.- Parameters:
feedbackData- the feedbackData
-
-
Method Details
-
build
Builds a AddFeedbackOptions.- Returns:
- the new AddFeedbackOptions instance
-
feedbackData
Set the feedbackData.- Parameters:
feedbackData- the feedbackData- Returns:
- the AddFeedbackOptions builder
-
userId
Set the userId.- Parameters:
userId- the userId- Returns:
- the AddFeedbackOptions builder
-
comment
Set the comment.- Parameters:
comment- the comment- Returns:
- the AddFeedbackOptions builder
-