public class Address extends Object
| Constructor and Description |
|---|
Address() |
| 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.
|
public String address1()
public Address withAddress1(String address1)
address1 - the address1 value to setpublic String address2()
public Address withAddress2(String address2)
address2 - the address2 value to setpublic String city()
public Address withCity(String city)
city - the city value to setpublic String country()
public Address withCountry(String country)
country - the country value to setpublic String postalCode()
public Address withPostalCode(String postalCode)
postalCode - the postalCode value to setpublic String state()
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/