Package com.oracle.bmc.oda.model
Class Translator.Builder
- java.lang.Object
- 
- com.oracle.bmc.oda.model.Translator.Builder
 
- 
- Enclosing class:
- Translator
 
 public static class Translator.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description Translator.BuilderbaseUrl(String baseUrl)The base URL for invoking the Translation Service.Translatorbuild()Translator.Buildercopy(Translator model)Translator.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Usage of predefined tag keys.Translator.BuilderfreeformTags(Map<String,String> freeformTags)Simple key-value pair that is applied without any predefined name, type, or scope.Translator.Builderid(String id)Unique immutable identifier that was assigned when the Translator was created.Translator.BuilderlifecycleState(LifecycleState lifecycleState)The Translator’s current state.Translator.Buildername(String name)The descriptive name for this Translator.Translator.Builderproperties(Map<String,String> properties)Properties used when invoking the translation service.Translator.BuildertimeCreated(Date timeCreated)When the resource was created.Translator.BuildertimeUpdated(Date timeUpdated)When the resource was last updated.Translator.Buildertype(TranslationService type)The Translation Service to use for this Translator.
 
- 
- 
- 
Method Detail- 
idpublic Translator.Builder id(String id) Unique immutable identifier that was assigned when the Translator was created.- Parameters:
- id- the value to set
- Returns:
- this builder
 
 - 
typepublic Translator.Builder type(TranslationService type) The Translation Service to use for this Translator.- Parameters:
- type- the value to set
- Returns:
- this builder
 
 - 
namepublic Translator.Builder name(String name) The descriptive name for this Translator.- Parameters:
- name- the value to set
- Returns:
- this builder
 
 - 
baseUrlpublic Translator.Builder baseUrl(String baseUrl) The base URL for invoking the Translation Service.- Parameters:
- baseUrl- the value to set
- Returns:
- this builder
 
 - 
lifecycleStatepublic Translator.Builder lifecycleState(LifecycleState lifecycleState) The Translator’s current state.- Parameters:
- lifecycleState- the value to set
- Returns:
- this builder
 
 - 
propertiespublic Translator.Builder properties(Map<String,String> properties) Properties used when invoking the translation service.Each property is a simple key-value pair. - Parameters:
- properties- the value to set
- Returns:
- this builder
 
 - 
timeCreatedpublic Translator.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
 
 - 
timeUpdatedpublic Translator.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
 
 - 
freeformTagspublic Translator.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
 
 - 
definedTagspublic Translator.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
 
 - 
buildpublic Translator build() 
 - 
copypublic Translator.Builder copy(Translator model) 
 
- 
 
-