Class AddressBaseType.Builder

java.lang.Object
org.projecthusky.common.basetypes.AddressBaseType.Builder
Enclosing class:
AddressBaseType

@Generated("SparkTools") public static final class AddressBaseType.Builder extends Object
Builder to build AddressBaseType.
  • Method Details

    • build

      public AddressBaseType build()
      Builds the.
      Returns:
      the address base type
    • withAdditionalLocator

      public AddressBaseType.Builder withAdditionalLocator(String additionalLocator)
      With additional locator.
      Parameters:
      additionalLocator - the additional locator
      Returns:
      the builder
    • withBuildingNumber

      public AddressBaseType.Builder withBuildingNumber(String buildingNumber)
      With building number.
      Parameters:
      buildingNumber - the building number
      Returns:
      the builder
    • withCity

      public AddressBaseType.Builder withCity(String city)
      With city.
      Parameters:
      city - the city
      Returns:
      the builder
    • withCountry

      public AddressBaseType.Builder withCountry(String country)
      With country.
      Parameters:
      country - the country
      Returns:
      the builder
    • withNullFlavor

      public AddressBaseType.Builder withNullFlavor(NullFlavor nullFlavor)
      With null flavor.
      Parameters:
      nullFlavor - the null flavor
      Returns:
      the builder
    • withPostalCode

      public AddressBaseType.Builder withPostalCode(String postalCode)
      With postal code.
      Parameters:
      postalCode - the postal code
      Returns:
      the builder
    • withPostBox

      public AddressBaseType.Builder withPostBox(String postBox)
      With post box.
      Parameters:
      postBox - the post box
      Returns:
      the builder
    • withState

      public AddressBaseType.Builder withState(String state)
      With state.
      Parameters:
      state - the state
      Returns:
      the builder
    • withStreetAddressLine1

      public AddressBaseType.Builder withStreetAddressLine1(String streetAddressLine1)
      With street address line 1.
      Parameters:
      streetAddressLine1 - the street address line 1
      Returns:
      the builder
    • withStreetAddressLine2

      public AddressBaseType.Builder withStreetAddressLine2(String streetAddressLine2)
      With street address line 2.
      Parameters:
      streetAddressLine2 - the street address line 2
      Returns:
      the builder
    • withStreetName

      public AddressBaseType.Builder withStreetName(String streetName)
      With street name.
      Parameters:
      streetName - the street name
      Returns:
      the builder
    • withUsage

      public AddressBaseType.Builder withUsage(PostalAddressUse usage)
      With usage.
      Parameters:
      usage - the usage
      Returns:
      the builder