Package com.oracle.bmc.oda.model
Class UpdateTranslatorDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.oda.model.UpdateTranslatorDetails.Builder
-
- Enclosing class:
- UpdateTranslatorDetails
public static class UpdateTranslatorDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UpdateTranslatorDetails.Builder
authToken(String authToken)
The authentication token to use when invoking the Translation ServiceUpdateTranslatorDetails.Builder
baseUrl(String baseUrl)
The base URL for invoking the Translation Service.UpdateTranslatorDetails
build()
UpdateTranslatorDetails.Builder
copy(UpdateTranslatorDetails model)
UpdateTranslatorDetails.Builder
definedTags(Map<String,Map<String,Object>> definedTags)
Usage of predefined tag keys.UpdateTranslatorDetails.Builder
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type, or scope.UpdateTranslatorDetails.Builder
properties(Map<String,String> properties)
Properties used when invoking the translation service.
-
-
-
Method Detail
-
baseUrl
public UpdateTranslatorDetails.Builder baseUrl(String baseUrl)
The base URL for invoking the Translation Service.- Parameters:
baseUrl
- the value to set- Returns:
- this builder
-
authToken
public UpdateTranslatorDetails.Builder authToken(String authToken)
The authentication token to use when invoking the Translation Service- Parameters:
authToken
- the value to set- Returns:
- this builder
-
properties
public UpdateTranslatorDetails.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
-
freeformTags
public UpdateTranslatorDetails.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 UpdateTranslatorDetails.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 UpdateTranslatorDetails build()
-
copy
public UpdateTranslatorDetails.Builder copy(UpdateTranslatorDetails model)
-
-