public static class GetExampleOptions.Builder
extends java.lang.Object
Constructor and Description |
---|
GetExampleOptions.Builder()
Instantiates a new builder.
|
GetExampleOptions.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 |
---|---|
GetExampleOptions |
build()
Builds a GetExampleOptions.
|
GetExampleOptions.Builder |
includeAudit(java.lang.Boolean includeAudit)
Set the includeAudit.
|
GetExampleOptions.Builder |
intent(java.lang.String intent)
Set the intent.
|
GetExampleOptions.Builder |
text(java.lang.String text)
Set the text.
|
GetExampleOptions.Builder |
workspaceId(java.lang.String workspaceId)
Set the workspaceId.
|
public GetExampleOptions.Builder()
public GetExampleOptions.Builder(java.lang.String workspaceId, java.lang.String intent, java.lang.String text)
workspaceId
- the workspaceIdintent
- the intenttext
- the textpublic GetExampleOptions build()
public GetExampleOptions.Builder workspaceId(java.lang.String workspaceId)
workspaceId
- the workspaceIdpublic GetExampleOptions.Builder intent(java.lang.String intent)
intent
- the intentpublic GetExampleOptions.Builder text(java.lang.String text)
text
- the textpublic GetExampleOptions.Builder includeAudit(java.lang.Boolean includeAudit)
includeAudit
- the includeAudit