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