public class CreateIntentOptions
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Modifier and Type | Class and Description |
---|---|
static class |
CreateIntentOptions.Builder
Builder.
|
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
description |
protected java.util.List<Example> |
examples |
protected java.lang.Boolean |
includeAudit |
protected java.lang.String |
intent |
protected java.lang.String |
workspaceId |
Modifier | Constructor and Description |
---|---|
protected |
CreateIntentOptions(CreateIntentOptions.Builder builder) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
description()
Gets the description.
|
java.util.List<Example> |
examples()
Gets the examples.
|
java.lang.Boolean |
includeAudit()
Gets the includeAudit.
|
java.lang.String |
intent()
Gets the intent.
|
CreateIntentOptions.Builder |
newBuilder()
New builder.
|
java.lang.String |
workspaceId()
Gets the workspaceId.
|
protected java.lang.String workspaceId
protected java.lang.String intent
protected java.lang.String description
protected java.util.List<Example> examples
protected java.lang.Boolean includeAudit
protected CreateIntentOptions(CreateIntentOptions.Builder builder)
public CreateIntentOptions.Builder newBuilder()
public java.lang.String workspaceId()
Unique identifier of the workspace.
public java.lang.String intent()
The name of the intent. This string must conform to the following restrictions: - It can contain only Unicode alphanumeric, underscore, hyphen, and dot characters. - It cannot begin with the reserved prefix `sys-`.
public java.lang.String description()
The description of the intent. This string cannot contain carriage return, newline, or tab characters.
public java.util.List<Example> examples()
An array of user input examples for the intent.
public java.lang.Boolean includeAudit()
Whether to include the audit properties (`created` and `updated` timestamps) in the response.