Package com.oracle.bmc.oda.model
Class DigitalAssistant.Builder
- java.lang.Object
-
- com.oracle.bmc.oda.model.DigitalAssistant.Builder
-
- Enclosing class:
- DigitalAssistant
public static class DigitalAssistant.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DigitalAssistant.BuilderbaseId(String baseId)The unique identifier for the base reource (when this resource extends another).DigitalAssistantbuild()DigitalAssistant.Buildercategory(String category)The resource’s category.DigitalAssistant.Buildercopy(DigitalAssistant model)DigitalAssistant.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Usage of predefined tag keys.DigitalAssistant.Builderdescription(String description)A short description of the resource.DigitalAssistant.BuilderdialogVersion(String dialogVersion)The resource’s dialog version.DigitalAssistant.BuilderdisplayName(String displayName)The resource’s display name.DigitalAssistant.BuilderfreeformTags(Map<String,String> freeformTags)Simple key-value pair that is applied without any predefined name, type, or scope.DigitalAssistant.Builderid(String id)Unique immutable identifier that was assigned when the resource was created.DigitalAssistant.BuilderlifecycleDetails(BotPublishState lifecycleDetails)The resource’s publish state.DigitalAssistant.BuilderlifecycleState(LifecycleState lifecycleState)The resource’s current state.DigitalAssistant.BuildermultilingualMode(BotMultilingualMode multilingualMode)The multilingual mode for the resource.DigitalAssistant.Buildername(String name)The reource’s name.DigitalAssistant.Buildernamespace(String namespace)The resource’s namespace.DigitalAssistant.BuildernativeLanguageTags(List<String> nativeLanguageTags)A list of native languages supported by this resource.DigitalAssistant.BuilderplatformVersion(String platformVersion)The ODA Platform Version for this resource.DigitalAssistant.BuilderprimaryLanguageTag(String primaryLanguageTag)The primary language for the resource.DigitalAssistant.BuildertimeCreated(Date timeCreated)When the resource was created.DigitalAssistant.BuildertimeUpdated(Date timeUpdated)When the resource was last updated.DigitalAssistant.Builderversion(String version)The resource’s version.
-
-
-
Method Detail
-
id
public DigitalAssistant.Builder id(String id)
Unique immutable identifier that was assigned when the resource was created.- Parameters:
id- the value to set- Returns:
- this builder
-
name
public 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.
- Parameters:
name- the value to set- Returns:
- this builder
-
version
public 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.
- Parameters:
version- the value to set- Returns:
- this builder
-
displayName
public DigitalAssistant.Builder displayName(String displayName)
The resource’s display name.- Parameters:
displayName- the value to set- Returns:
- this builder
-
category
public DigitalAssistant.Builder category(String category)
The resource’s category.This is used to group resource’s together.
- Parameters:
category- the value to set- Returns:
- this builder
-
description
public DigitalAssistant.Builder description(String description)
A short description of the resource.- Parameters:
description- the value to set- Returns:
- this builder
-
namespace
public DigitalAssistant.Builder namespace(String namespace)
The resource’s namespace.- Parameters:
namespace- the value to set- Returns:
- this builder
-
lifecycleState
public DigitalAssistant.Builder lifecycleState(LifecycleState lifecycleState)
The resource’s current state.- Parameters:
lifecycleState- the value to set- Returns:
- this builder
-
lifecycleDetails
public DigitalAssistant.Builder lifecycleDetails(BotPublishState lifecycleDetails)
The resource’s publish state.- Parameters:
lifecycleDetails- the value to set- Returns:
- this builder
-
platformVersion
public DigitalAssistant.Builder platformVersion(String platformVersion)
The ODA Platform Version for this resource.- Parameters:
platformVersion- the value to set- Returns:
- this builder
-
dialogVersion
public DigitalAssistant.Builder dialogVersion(String dialogVersion)
The resource’s dialog version.- Parameters:
dialogVersion- the value to set- Returns:
- this builder
-
baseId
public DigitalAssistant.Builder baseId(String baseId)
The unique identifier for the base reource (when this resource extends another).- Parameters:
baseId- the value to set- Returns:
- this builder
-
multilingualMode
public DigitalAssistant.Builder multilingualMode(BotMultilingualMode multilingualMode)
The multilingual mode for the resource.- Parameters:
multilingualMode- the value to set- Returns:
- this builder
-
primaryLanguageTag
public DigitalAssistant.Builder primaryLanguageTag(String primaryLanguageTag)
The primary language for the resource.- Parameters:
primaryLanguageTag- the value to set- Returns:
- this builder
-
nativeLanguageTags
public DigitalAssistant.Builder nativeLanguageTags(List<String> nativeLanguageTags)
A list of native languages supported by this resource.- Parameters:
nativeLanguageTags- the value to set- Returns:
- this builder
-
timeCreated
public DigitalAssistant.Builder timeCreated(Date timeCreated)
When the resource was created.A date-time string as described in RFC 3339, section 14.29.
- Parameters:
timeCreated- the value to set- Returns:
- this builder
-
timeUpdated
public DigitalAssistant.Builder timeUpdated(Date timeUpdated)
When the resource was last updated.A date-time string as described in RFC 3339, section 14.29.
- Parameters:
timeUpdated- the value to set- Returns:
- this builder
-
freeformTags
public 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”}
- Parameters:
freeformTags- the value to set- Returns:
- this builder
-
definedTags
public 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”}}
- Parameters:
definedTags- the value to set- Returns:
- this builder
-
build
public DigitalAssistant build()
-
copy
public DigitalAssistant.Builder copy(DigitalAssistant model)
-
-