public static class TranslatorSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
TranslatorSummary |
build() |
TranslatorSummary.Builder |
copy(TranslatorSummary model) |
TranslatorSummary.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Usage of predefined tag keys.
|
TranslatorSummary.Builder |
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type, or scope.
|
TranslatorSummary.Builder |
id(String id)
Unique immutable identifier that was assigned when the Translator was created.
|
TranslatorSummary.Builder |
lifecycleState(LifecycleState lifecycleState)
The Translator’s current state.
|
TranslatorSummary.Builder |
name(String name)
The descriptive name for this Translator.
|
TranslatorSummary.Builder |
timeCreated(Date timeCreated)
When the resource was created.
|
TranslatorSummary.Builder |
timeUpdated(Date timeUpdated)
When the resource was last updated.
|
TranslatorSummary.Builder |
type(TranslationService type)
The Translation Service to use for this Translator.
|
public TranslatorSummary.Builder id(String id)
Unique immutable identifier that was assigned when the Translator was created.
id
- the value to setpublic TranslatorSummary.Builder type(TranslationService type)
The Translation Service to use for this Translator.
type
- the value to setpublic TranslatorSummary.Builder name(String name)
The descriptive name for this Translator.
name
- the value to setpublic TranslatorSummary.Builder lifecycleState(LifecycleState lifecycleState)
The Translator’s current state.
lifecycleState
- the value to setpublic TranslatorSummary.Builder timeCreated(Date timeCreated)
When the resource was created. A date-time string as described in RFC 3339, section 14.29.
timeCreated
- the value to setpublic TranslatorSummary.Builder timeUpdated(Date timeUpdated)
When the resource was last updated. A date-time string as described in RFC 3339, section 14.29.
timeUpdated
- the value to setpublic 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"}
freeformTags
- the value to setpublic 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"}}
definedTags
- the value to setpublic TranslatorSummary build()
public TranslatorSummary.Builder copy(TranslatorSummary model)
Copyright © 2016–2024. All rights reserved.