Package com.oracle.bmc.ospgateway.model
Class Address.Builder
- java.lang.Object
-
- com.oracle.bmc.ospgateway.model.Address.Builder
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Address.BuilderaddressKey(String addressKey)Address identifier.Addressbuild()Address.Buildercity(String city)Name of the city.Address.BuildercompanyName(String companyName)Name of the customer company.Address.BuildercontributorClass(String contributorClass)Contributor class of the customer company.Address.Buildercopy(Address model)Address.Buildercountry(String country)Country of the address.Address.Buildercounty(String county)County of the address.Address.BuilderdepartmentName(String departmentName)Department name of the customer company.Address.BuilderemailAddress(String emailAddress)Contact person email address.Address.BuilderfirstName(String firstName)First name of the contact person.Address.BuilderinternalNumber(String internalNumber)Internal number of the customer company.Address.BuilderjobTitle(String jobTitle)Job title of the contact person.Address.BuilderlastName(String lastName)Last name of the contact person.Address.Builderline1(String line1)Address line 1.Address.Builderline2(String line2)Address line 2.Address.Builderline3(String line3)Address line 3.Address.Builderline4(String line4)Address line 4.Address.BuildermiddleName(String middleName)Middle name of the contact person.Address.BuildermunicipalInscription(String municipalInscription)Municipal Inscription.Address.BuilderphoneCountryCode(String phoneCountryCode)Phone country code of the contact person.Address.BuilderphoneNumber(String phoneNumber)Phone number of the contact person.Address.BuilderpostalCode(String postalCode)Post code of the address.Address.Builderprovince(String province)Province of the address.Address.Builderstate(String state)State of the address.Address.BuilderstateInscription(String stateInscription)State Inscription.Address.BuilderstreetName(String streetName)Street name of the address.Address.BuilderstreetNumber(String streetNumber)Street number of the address.
-
-
-
Method Detail
-
addressKey
public Address.Builder addressKey(String addressKey)
Address identifier.- Parameters:
addressKey- the value to set- Returns:
- this builder
-
line1
public Address.Builder line1(String line1)
Address line 1.- Parameters:
line1- the value to set- Returns:
- this builder
-
line2
public Address.Builder line2(String line2)
Address line 2.- Parameters:
line2- the value to set- Returns:
- this builder
-
line3
public Address.Builder line3(String line3)
Address line 3.- Parameters:
line3- the value to set- Returns:
- this builder
-
line4
public Address.Builder line4(String line4)
Address line 4.- Parameters:
line4- the value to set- Returns:
- this builder
-
streetName
public Address.Builder streetName(String streetName)
Street name of the address.- Parameters:
streetName- the value to set- Returns:
- this builder
-
streetNumber
public Address.Builder streetNumber(String streetNumber)
Street number of the address.- Parameters:
streetNumber- the value to set- Returns:
- this builder
-
city
public Address.Builder city(String city)
Name of the city.- Parameters:
city- the value to set- Returns:
- this builder
-
county
public Address.Builder county(String county)
County of the address.- Parameters:
county- the value to set- Returns:
- this builder
-
country
public Address.Builder country(String country)
Country of the address.- Parameters:
country- the value to set- Returns:
- this builder
-
province
public Address.Builder province(String province)
Province of the address.- Parameters:
province- the value to set- Returns:
- this builder
-
postalCode
public Address.Builder postalCode(String postalCode)
Post code of the address.- Parameters:
postalCode- the value to set- Returns:
- this builder
-
state
public Address.Builder state(String state)
State of the address.- Parameters:
state- the value to set- Returns:
- this builder
-
emailAddress
public Address.Builder emailAddress(String emailAddress)
Contact person email address.- Parameters:
emailAddress- the value to set- Returns:
- this builder
-
companyName
public Address.Builder companyName(String companyName)
Name of the customer company.- Parameters:
companyName- the value to set- Returns:
- this builder
-
firstName
public Address.Builder firstName(String firstName)
First name of the contact person.- Parameters:
firstName- the value to set- Returns:
- this builder
-
middleName
public Address.Builder middleName(String middleName)
Middle name of the contact person.- Parameters:
middleName- the value to set- Returns:
- this builder
-
lastName
public Address.Builder lastName(String lastName)
Last name of the contact person.- Parameters:
lastName- the value to set- Returns:
- this builder
-
phoneCountryCode
public Address.Builder phoneCountryCode(String phoneCountryCode)
Phone country code of the contact person.- Parameters:
phoneCountryCode- the value to set- Returns:
- this builder
-
phoneNumber
public Address.Builder phoneNumber(String phoneNumber)
Phone number of the contact person.- Parameters:
phoneNumber- the value to set- Returns:
- this builder
-
jobTitle
public Address.Builder jobTitle(String jobTitle)
Job title of the contact person.- Parameters:
jobTitle- the value to set- Returns:
- this builder
-
departmentName
public Address.Builder departmentName(String departmentName)
Department name of the customer company.- Parameters:
departmentName- the value to set- Returns:
- this builder
-
internalNumber
public Address.Builder internalNumber(String internalNumber)
Internal number of the customer company.- Parameters:
internalNumber- the value to set- Returns:
- this builder
-
contributorClass
public Address.Builder contributorClass(String contributorClass)
Contributor class of the customer company.- Parameters:
contributorClass- the value to set- Returns:
- this builder
-
stateInscription
public Address.Builder stateInscription(String stateInscription)
State Inscription.- Parameters:
stateInscription- the value to set- Returns:
- this builder
-
municipalInscription
public Address.Builder municipalInscription(String municipalInscription)
Municipal Inscription.- Parameters:
municipalInscription- the value to set- Returns:
- this builder
-
build
public Address build()
-
copy
public Address.Builder copy(Address model)
-
-