Package com.oracle.bmc.ospgateway.model
Class Country.Builder
- java.lang.Object
-
- com.oracle.bmc.ospgateway.model.Country.Builder
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Country.Builder
ascii3CountryCode(String ascii3CountryCode)
Country code in ISO-3166-1 3-letter formatCountry
build()
Country.Builder
copy(Country model)
Country.Builder
countryCode(String countryCode)
Country code in ISO-3166-1 2-letter formatCountry.Builder
countryId(BigDecimal countryId)
Indentifier of the country.Country.Builder
countryName(String countryName)
Name of the countryCountry.Builder
languageId(BigDecimal languageId)
Language identifier
-
-
-
Method Detail
-
countryId
public Country.Builder countryId(BigDecimal countryId)
Indentifier of the country.This is a DB side unique id which was generated when the entity was created in the table
- Parameters:
countryId
- the value to set- Returns:
- this builder
-
countryCode
public Country.Builder countryCode(String countryCode)
Country code in ISO-3166-1 2-letter format- Parameters:
countryCode
- the value to set- Returns:
- this builder
-
countryName
public Country.Builder countryName(String countryName)
Name of the country- Parameters:
countryName
- the value to set- Returns:
- this builder
-
languageId
public Country.Builder languageId(BigDecimal languageId)
Language identifier- Parameters:
languageId
- the value to set- Returns:
- this builder
-
ascii3CountryCode
public Country.Builder ascii3CountryCode(String ascii3CountryCode)
Country code in ISO-3166-1 3-letter format- Parameters:
ascii3CountryCode
- the value to set- Returns:
- this builder
-
build
public Country build()
-
copy
public Country.Builder copy(Country model)
-
-