public class CreateIntent
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Modifier and Type | Class and Description |
---|---|
static class |
CreateIntent.Builder
Builder.
|
Modifier and Type | Field and Description |
---|---|
protected java.util.Date |
created |
protected java.lang.String |
description |
protected java.util.List<Example> |
examples |
protected java.lang.String |
intent |
protected java.util.Date |
updated |
Modifier | Constructor and Description |
---|---|
protected |
CreateIntent(CreateIntent.Builder builder) |
Modifier and Type | Method and Description |
---|---|
java.util.Date |
created()
Gets the created.
|
java.lang.String |
description()
Gets the description.
|
java.util.List<Example> |
examples()
Gets the examples.
|
java.lang.String |
intent()
Gets the intent.
|
CreateIntent.Builder |
newBuilder()
New builder.
|
java.util.Date |
updated()
Gets the updated.
|
protected java.lang.String intent
protected java.lang.String description
protected java.util.Date created
protected java.util.Date updated
protected java.util.List<Example> examples
protected CreateIntent(CreateIntent.Builder builder)
public CreateIntent.Builder newBuilder()
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.Date created()
The timestamp for creation of the object.
public java.util.Date updated()
The timestamp for the most recent update to the object.
public java.util.List<Example> examples()
An array of user input examples for the intent.