public static class LanguageMapping.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
LanguageMapping |
build() |
LanguageMapping.Builder |
copy(LanguageMapping model) |
LanguageMapping.Builder |
languageTag(String languageTag)
Language tag of mapping.
|
LanguageMapping.Builder |
names(List<NameMapping> names)
List of named values for mapping.
|
LanguageMapping.Builder |
primaryName(String primaryName)
Primary name of mapping.
|
public LanguageMapping.Builder languageTag(String languageTag)
Language tag of mapping.
languageTag
- the value to setpublic LanguageMapping.Builder primaryName(String primaryName)
Primary name of mapping.
primaryName
- the value to setpublic LanguageMapping.Builder names(List<NameMapping> names)
List of named values for mapping.
names
- the value to setpublic LanguageMapping build()
public LanguageMapping.Builder copy(LanguageMapping model)
Copyright © 2016–2024. All rights reserved.