Package com.oracle.bmc.oda.model
Class TranslatorSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.oda.model.TranslatorSummary.Builder
-
- Enclosing class:
- TranslatorSummary
public static class TranslatorSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TranslatorSummarybuild()TranslatorSummary.Buildercopy(TranslatorSummary model)TranslatorSummary.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Usage of predefined tag keys.TranslatorSummary.BuilderfreeformTags(Map<String,String> freeformTags)Simple key-value pair that is applied without any predefined name, type, or scope.TranslatorSummary.Builderid(String id)Unique immutable identifier that was assigned when the Translator was created.TranslatorSummary.BuilderlifecycleState(LifecycleState lifecycleState)The Translator’s current state.TranslatorSummary.Buildername(String name)The descriptive name for this Translator.TranslatorSummary.BuildertimeCreated(Date timeCreated)When the resource was created.TranslatorSummary.BuildertimeUpdated(Date timeUpdated)When the resource was last updated.TranslatorSummary.Buildertype(TranslationService type)The Translation Service to use for this Translator.
-
-
-
Method Detail
-
id
public TranslatorSummary.Builder id(String id)
Unique immutable identifier that was assigned when the Translator was created.- Parameters:
id- the value to set- Returns:
- this builder
-
type
public TranslatorSummary.Builder type(TranslationService type)
The Translation Service to use for this Translator.- Parameters:
type- the value to set- Returns:
- this builder
-
name
public TranslatorSummary.Builder name(String name)
The descriptive name for this Translator.- Parameters:
name- the value to set- Returns:
- this builder
-
lifecycleState
public TranslatorSummary.Builder lifecycleState(LifecycleState lifecycleState)
The Translator’s current state.- Parameters:
lifecycleState- the value to set- Returns:
- this builder
-
timeCreated
public TranslatorSummary.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 TranslatorSummary.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 TranslatorSummary.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 TranslatorSummary.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 TranslatorSummary build()
-
copy
public TranslatorSummary.Builder copy(TranslatorSummary model)
-
-