public static class CreateIntent.Builder
extends java.lang.Object
| Constructor and Description |
|---|
CreateIntent.Builder()
Instantiates a new builder.
|
CreateIntent.Builder(java.lang.String intent)
Instantiates a new builder with required properties.
|
| Modifier and Type | Method and Description |
|---|---|
CreateIntent.Builder |
addExample(Example example)
Adds an example to examples.
|
CreateIntent |
build()
Builds a CreateIntent.
|
CreateIntent.Builder |
created(java.util.Date created)
Set the created.
|
CreateIntent.Builder |
description(java.lang.String description)
Set the description.
|
CreateIntent.Builder |
examples(java.util.List<Example> examples)
Set the examples.
|
CreateIntent.Builder |
intent(java.lang.String intent)
Set the intent.
|
CreateIntent.Builder |
updated(java.util.Date updated)
Set the updated.
|
public CreateIntent.Builder()
public CreateIntent.Builder(java.lang.String intent)
intent - the intentpublic CreateIntent build()
public CreateIntent.Builder addExample(Example example)
example - the new examplepublic CreateIntent.Builder intent(java.lang.String intent)
intent - the intentpublic CreateIntent.Builder description(java.lang.String description)
description - the descriptionpublic CreateIntent.Builder created(java.util.Date created)
created - the createdpublic CreateIntent.Builder updated(java.util.Date updated)
updated - the updatedpublic CreateIntent.Builder examples(java.util.List<Example> examples)
examples - the examples