public static class DigitalAssistant.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
DigitalAssistant.Builder |
baseId(String baseId)
The unique identifier for the base reource (when this resource extends another).
|
DigitalAssistant |
build() |
DigitalAssistant.Builder |
category(String category)
The resource’s category.
|
DigitalAssistant.Builder |
copy(DigitalAssistant model) |
DigitalAssistant.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Usage of predefined tag keys.
|
DigitalAssistant.Builder |
description(String description)
A short description of the resource.
|
DigitalAssistant.Builder |
dialogVersion(String dialogVersion)
The resource’s dialog version.
|
DigitalAssistant.Builder |
displayName(String displayName)
The resource’s display name.
|
DigitalAssistant.Builder |
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type, or scope.
|
DigitalAssistant.Builder |
id(String id)
Unique immutable identifier that was assigned when the resource was created.
|
DigitalAssistant.Builder |
lifecycleDetails(BotPublishState lifecycleDetails)
The resource’s publish state.
|
DigitalAssistant.Builder |
lifecycleState(LifecycleState lifecycleState)
The resource’s current state.
|
DigitalAssistant.Builder |
multilingualMode(BotMultilingualMode multilingualMode)
The multilingual mode for the resource.
|
DigitalAssistant.Builder |
name(String name)
The reource’s name.
|
DigitalAssistant.Builder |
namespace(String namespace)
The resource’s namespace.
|
DigitalAssistant.Builder |
nativeLanguageTags(List<String> nativeLanguageTags)
A list of native languages supported by this resource.
|
DigitalAssistant.Builder |
platformVersion(String platformVersion)
The ODA Platform Version for this resource.
|
DigitalAssistant.Builder |
primaryLanguageTag(String primaryLanguageTag)
The primary language for the resource.
|
DigitalAssistant.Builder |
timeCreated(Date timeCreated)
When the resource was created.
|
DigitalAssistant.Builder |
timeUpdated(Date timeUpdated)
When the resource was last updated.
|
DigitalAssistant.Builder |
version(String version)
The resource’s version.
|
public DigitalAssistant.Builder id(String id)
Unique immutable identifier that was assigned when the resource was created.
id
- the value to setpublic DigitalAssistant.Builder name(String name)
The reource’s name. The name can contain only letters, numbers, periods, and underscores. The name must begin with a letter.
name
- the value to setpublic DigitalAssistant.Builder version(String version)
The resource’s version. The version can only contain numbers, letters, periods, underscores, dashes or spaces. The version must begin with a letter or a number.
version
- the value to setpublic DigitalAssistant.Builder displayName(String displayName)
The resource’s display name.
displayName
- the value to setpublic DigitalAssistant.Builder category(String category)
The resource’s category. This is used to group resource’s together.
category
- the value to setpublic DigitalAssistant.Builder description(String description)
A short description of the resource.
description
- the value to setpublic DigitalAssistant.Builder namespace(String namespace)
The resource’s namespace.
namespace
- the value to setpublic DigitalAssistant.Builder lifecycleState(LifecycleState lifecycleState)
The resource’s current state.
lifecycleState
- the value to setpublic DigitalAssistant.Builder lifecycleDetails(BotPublishState lifecycleDetails)
The resource’s publish state.
lifecycleDetails
- the value to setpublic DigitalAssistant.Builder platformVersion(String platformVersion)
The ODA Platform Version for this resource.
platformVersion
- the value to setpublic DigitalAssistant.Builder dialogVersion(String dialogVersion)
The resource’s dialog version.
dialogVersion
- the value to setpublic DigitalAssistant.Builder baseId(String baseId)
The unique identifier for the base reource (when this resource extends another).
baseId
- the value to setpublic DigitalAssistant.Builder multilingualMode(BotMultilingualMode multilingualMode)
The multilingual mode for the resource.
multilingualMode
- the value to setpublic DigitalAssistant.Builder primaryLanguageTag(String primaryLanguageTag)
The primary language for the resource.
primaryLanguageTag
- the value to setpublic DigitalAssistant.Builder nativeLanguageTags(List<String> nativeLanguageTags)
A list of native languages supported by this resource.
nativeLanguageTags
- the value to setpublic DigitalAssistant.Builder timeCreated(Date timeCreated)
When the resource was created. A date-time string as described in RFC 3339, section 14.29.
timeCreated
- the value to setpublic DigitalAssistant.Builder timeUpdated(Date timeUpdated)
When the resource was last updated. A date-time string as described in RFC 3339, section 14.29.
timeUpdated
- the value to setpublic DigitalAssistant.Builder freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type, or scope.
Example: {"bar-key": "value"}
freeformTags
- the value to setpublic DigitalAssistant.Builder definedTags(Map<String,Map<String,Object>> definedTags)
Usage of predefined tag keys. These predefined keys are scoped to namespaces. Example:
{"foo-namespace": {"bar-key": "value"}}
definedTags
- the value to setpublic DigitalAssistant build()
public DigitalAssistant.Builder copy(DigitalAssistant model)
Copyright © 2016–2024. All rights reserved.