public static class DeleteExampleOptions.Builder
extends java.lang.Object
Constructor and Description |
---|
DeleteExampleOptions.Builder()
Instantiates a new builder.
|
DeleteExampleOptions.Builder(java.lang.String workspaceId,
java.lang.String intent,
java.lang.String text)
Instantiates a new builder with required properties.
|
Modifier and Type | Method and Description |
---|---|
DeleteExampleOptions |
build()
Builds a DeleteExampleOptions.
|
DeleteExampleOptions.Builder |
intent(java.lang.String intent)
Set the intent.
|
DeleteExampleOptions.Builder |
text(java.lang.String text)
Set the text.
|
DeleteExampleOptions.Builder |
workspaceId(java.lang.String workspaceId)
Set the workspaceId.
|
public DeleteExampleOptions.Builder()
public DeleteExampleOptions.Builder(java.lang.String workspaceId, java.lang.String intent, java.lang.String text)
workspaceId
- the workspaceIdintent
- the intenttext
- the textpublic DeleteExampleOptions build()
public DeleteExampleOptions.Builder workspaceId(java.lang.String workspaceId)
workspaceId
- the workspaceIdpublic DeleteExampleOptions.Builder intent(java.lang.String intent)
intent
- the intentpublic DeleteExampleOptions.Builder text(java.lang.String text)
text
- the text