public static class UpdateTranslatorDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
UpdateTranslatorDetails.Builder |
authToken(String authToken)
The authentication token to use when invoking the Translation Service
|
UpdateTranslatorDetails.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.
|
public UpdateTranslatorDetails.Builder baseUrl(String baseUrl)
The base URL for invoking the Translation Service.
baseUrl
- the value to setpublic UpdateTranslatorDetails.Builder authToken(String authToken)
The authentication token to use when invoking the Translation Service
authToken
- the value to setpublic UpdateTranslatorDetails.Builder properties(Map<String,String> properties)
Properties used when invoking the translation service. Each property is a simple key-value pair.
properties
- the value to setpublic 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"}
freeformTags
- the value to setpublic 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"}}
definedTags
- the value to setpublic UpdateTranslatorDetails build()
public UpdateTranslatorDetails.Builder copy(UpdateTranslatorDetails model)
Copyright © 2016–2024. All rights reserved.