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