Class Address
- java.lang.Object
-
- com.microsoft.azure.management.appservice.Address
-
public class Address extends Object
Address information for domain registration.
-
-
Constructor Summary
Constructors Constructor Description Address()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringaddress1()Get first line of an Address.Stringaddress2()Get the second line of the Address.Stringcity()Get the city for the address.Stringcountry()Get the country for the address.StringpostalCode()Get the postal code for the address.Stringstate()Get the state or province for the address.AddresswithAddress1(String address1)Set first line of an Address.AddresswithAddress2(String address2)Set the second line of the Address.AddresswithCity(String city)Set the city for the address.AddresswithCountry(String country)Set the country for the address.AddresswithPostalCode(String postalCode)Set the postal code for the address.AddresswithState(String state)Set the state or province for the address.
-
-
-
Method Detail
-
address1
public String address1()
Get first line of an Address.- Returns:
- the address1 value
-
withAddress1
public Address withAddress1(String address1)
Set first line of an Address.- Parameters:
address1- the address1 value to set- Returns:
- the Address object itself.
-
address2
public String address2()
Get the second line of the Address. Optional.- Returns:
- the address2 value
-
withAddress2
public Address withAddress2(String address2)
Set the second line of the Address. Optional.- Parameters:
address2- the address2 value to set- Returns:
- the Address object itself.
-
city
public String city()
Get the city for the address.- Returns:
- the city value
-
withCity
public Address withCity(String city)
Set the city for the address.- Parameters:
city- the city value to set- Returns:
- the Address object itself.
-
country
public String country()
Get the country for the address.- Returns:
- the country value
-
withCountry
public Address withCountry(String country)
Set the country for the address.- Parameters:
country- the country value to set- Returns:
- the Address object itself.
-
postalCode
public String postalCode()
Get the postal code for the address.- Returns:
- the postalCode value
-
withPostalCode
public Address withPostalCode(String postalCode)
Set the postal code for the address.- Parameters:
postalCode- the postalCode value to set- Returns:
- the Address object itself.
-
state
public String state()
Get the state or province for the address.- Returns:
- the state value
-
-