Class LocationAddress.LocationAddressBuilder

java.lang.Object
com.sap.cloud.sdk.s4hana.datamodel.odatav4.namespaces.location.LocationAddress.LocationAddressBuilder
Enclosing class:
LocationAddress

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

    • locationTP

      @Nonnull public LocationAddress.LocationAddressBuilder locationTP(Location value)
      Navigation property _LocationTP for LocationAddress to single Location.
      Parameters:
      value - The Location to build this LocationAddress with.
      Returns:
      This Builder to allow for a fluent interface.
    • locationUUID

      @Nonnull public LocationAddress.LocationAddressBuilder locationUUID(@Nullable UUID locationUUID)
      (Key Field) Constraints: Not nullable

      Original property name from the Odata EDM: LocationUUID

      Returns:
      this.
    • addressPersonID

      @Nonnull public LocationAddress.LocationAddressBuilder addressPersonID(@Nullable String addressPersonID)
      (Key Field) Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: AddressPersonID

      Returns:
      this.
    • addressRepresentationCode

      @Nonnull public LocationAddress.LocationAddressBuilder addressRepresentationCode(@Nullable String addressRepresentationCode)
      (Key Field) Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: AddressRepresentationCode

      Returns:
      this.
    • addressID

      @Nonnull public LocationAddress.LocationAddressBuilder addressID(@Nullable String addressID)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: AddressID

      Returns:
      this.
    • addressTimeZone

      @Nonnull public LocationAddress.LocationAddressBuilder addressTimeZone(@Nullable String addressTimeZone)
      Constraints: Not nullable, Maximum length: 6

      Original property name from the Odata EDM: AddressTimeZone

      Returns:
      this.
    • cityName

      @Nonnull public LocationAddress.LocationAddressBuilder cityName(@Nullable String cityName)
      Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: CityName

      Returns:
      this.
    • postalCode

      @Nonnull public LocationAddress.LocationAddressBuilder postalCode(@Nullable String postalCode)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: PostalCode

      Returns:
      this.
    • streetName

      @Nonnull public LocationAddress.LocationAddressBuilder streetName(@Nullable String streetName)
      Constraints: Not nullable, Maximum length: 60

      Original property name from the Odata EDM: StreetName

      Returns:
      this.
    • houseNumber

      @Nonnull public LocationAddress.LocationAddressBuilder houseNumber(@Nullable String houseNumber)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: HouseNumber

      Returns:
      this.
    • country

      @Nonnull public LocationAddress.LocationAddressBuilder country(@Nullable String country)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: Country

      Returns:
      this.
    • region

      @Nonnull public LocationAddress.LocationAddressBuilder region(@Nullable String region)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: Region

      Returns:
      this.
    • searchTerm1

      @Nonnull public LocationAddress.LocationAddressBuilder searchTerm1(@Nullable String searchTerm1)
      Constraints: Not nullable, Maximum length: 20

      Original property name from the Odata EDM: SearchTerm1

      Returns:
      this.
    • searchTerm2

      @Nonnull public LocationAddress.LocationAddressBuilder searchTerm2(@Nullable String searchTerm2)
      Constraints: Not nullable, Maximum length: 20

      Original property name from the Odata EDM: SearchTerm2

      Returns:
      this.
    • build

      @Nonnull public LocationAddress build()
    • toString

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