你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

Address Class

  • java.lang.Object
    • com.microsoft.azure.management.appservice.Address

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:

the address1 value

address2

public String address2()

Get the address2 value.

Returns:

the address2 value

city

public String city()

Get the city value.

Returns:

the city value

country

public String country()

Get the country value.

Returns:

the country value

postalCode

public String postalCode()

Get the postalCode value.

Returns:

the postalCode value

state

public String state()

Get the state value.

Returns:

the state value

withAddress1

public Address withAddress1(String address1)

Set the address1 value.

Parameters:

address1 - the address1 value to set

Returns:

the Address object itself.

withAddress2

public Address withAddress2(String address2)

Set the address2 value.

Parameters:

address2 - the address2 value to set

Returns:

the Address object itself.

withCity

public Address withCity(String city)

Set the city value.

Parameters:

city - the city value to set

Returns:

the Address object itself.

withCountry

public Address withCountry(String country)

Set the country value.

Parameters:

country - the country value to set

Returns:

the Address object itself.

withPostalCode

public Address withPostalCode(String postalCode)

Set the postalCode value.

Parameters:

postalCode - the postalCode value to set

Returns:

the Address object itself.

withState

public Address withState(String state)

Set the state value.

Parameters:

state - the state value to set

Returns:

the Address object itself.

Applies to