Class DeleteExampleOptions.Builder
java.lang.Object
com.ibm.watson.assistant.v1.model.DeleteExampleOptions.Builder
- Enclosing class:
- DeleteExampleOptions
public static class DeleteExampleOptions.Builder extends Object
Builder.
-
Constructor Summary
-
Method Summary
Modifier and Type Method Description DeleteExampleOptions
build()
Builds a DeleteExampleOptions.DeleteExampleOptions.Builder
intent(String intent)
Set the intent.DeleteExampleOptions.Builder
text(String text)
Set the text.DeleteExampleOptions.Builder
workspaceId(String workspaceId)
Set the workspaceId.
-
Constructor Details
-
Builder
public Builder()Instantiates a new builder. -
Builder
Instantiates a new builder with required properties.- Parameters:
workspaceId
- the workspaceIdintent
- the intenttext
- the text
-
-
Method Details
-
build
Builds a DeleteExampleOptions.- Returns:
- the new DeleteExampleOptions instance
-
workspaceId
Set the workspaceId.- Parameters:
workspaceId
- the workspaceId- Returns:
- the DeleteExampleOptions builder
-
intent
Set the intent.- Parameters:
intent
- the intent- Returns:
- the DeleteExampleOptions builder
-
text
Set the text.- Parameters:
text
- the text- Returns:
- the DeleteExampleOptions builder
-