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 AddFeedbackOptions
build()
Builds a AddFeedbackOptions.AddFeedbackOptions.Builder
comment(String comment)
Set the comment.AddFeedbackOptions.Builder
feedbackData(FeedbackDataInput feedbackData)
Set the feedbackData.AddFeedbackOptions.Builder
userId(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
-