Address Class
- java.
lang. Object - com.
microsoft. azure. management. appservice. Address
- com.
public class Address
Address information for domain registration.
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
address1()
Get the address1 value. |
String |
address2()
Get the address2 value. |
String |
city()
Get the city value. |
String |
country()
Get the country value. |
String |
postalCode()
Get the postalCode value. |
String |
state()
Get the state value. |
Address |
withAddress1(String address1)
Set the address1 value. |
Address |
withAddress2(String address2)
Set the address2 value. |
Address |
withCity(String city)
Set the city value. |
Address |
withCountry(String country)
Set the country value. |
Address |
withPostalCode(String postalCode)
Set the postalCode value. |
Address |
withState(String state)
Set the state value. |
Method Details
address1
public String address1()
Get the address1 value.
Returns:
address2
public String address2()
Get the address2 value.
Returns:
city
public String city()
Get the city value.
Returns:
country
public String country()
Get the country value.
Returns:
postalCode
public String postalCode()
Get the postalCode value.
Returns:
state
public String state()
Get the state value.
Returns:
withAddress1
public Address withAddress1(String address1)
Set the address1 value.
Parameters:
Returns:
withAddress2
public Address withAddress2(String address2)
Set the address2 value.
Parameters:
Returns:
withCity
public Address withCity(String city)
Set the city value.
Parameters:
Returns:
withCountry
public Address withCountry(String country)
Set the country value.
Parameters:
Returns:
withPostalCode
public Address withPostalCode(String postalCode)
Set the postalCode value.
Parameters:
Returns:
withState
public Address withState(String state)
Set the state value.
Parameters:
Returns:
Applies to
Azure SDK for Java