Class CountryText.CountryTextBuilder

java.lang.Object
com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.country.CountryText.CountryTextBuilder
Enclosing class:
CountryText

public static final class CountryText.CountryTextBuilder extends Object
Helper class to allow for fluent creation of CountryText instances.
  • Method Details

    • country

      @Nonnull public CountryText.CountryTextBuilder country(Country value)
      Navigation property to_Country for CountryText to single Country.
      Parameters:
      value - The Country to build this CountryText with.
      Returns:
      This Builder to allow for a fluent interface.
    • country

      @Nonnull public CountryText.CountryTextBuilder country(String value)
      (Key Field) Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: Country

      Parameters:
      value - The country to build this CountryText with.
      Returns:
      This Builder to allow for a fluent interface.
    • language

      @Nonnull public CountryText.CountryTextBuilder language(@Nullable String language)
      (Key Field) Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: Language

      Returns:
      this.
    • countryName

      @Nonnull public CountryText.CountryTextBuilder countryName(@Nullable String countryName)
      Constraints: Not nullable, Maximum length: 50

      Original property name from the Odata EDM: CountryName

      Returns:
      this.
    • nationalityName

      @Nonnull public CountryText.CountryTextBuilder nationalityName(@Nullable String nationalityName)
      Constraints: Not nullable, Maximum length: 15

      Original property name from the Odata EDM: NationalityName

      Returns:
      this.
    • nationalityLongName

      @Nonnull public CountryText.CountryTextBuilder nationalityLongName(@Nullable String nationalityLongName)
      Constraints: Not nullable, Maximum length: 50

      Original property name from the Odata EDM: NationalityLongName

      Returns:
      this.
    • build

      @Nonnull public CountryText build()
    • toString

      @Nonnull public String toString()
      Overrides:
      toString in class Object