public class SimplePostalAddressCoarseGrained extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
SimplePostalAddressCoarseGrained.Builder
Class to build instances of
SimplePostalAddressCoarseGrained. |
| Constructor and Description |
|---|
SimplePostalAddressCoarseGrained()
Default constructor.
|
SimplePostalAddressCoarseGrained(String line1,
String city,
String countryCode,
String line2,
String state,
String postalCode)
Initialization constructor.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getCity()
Getter for City.
|
String |
getCountryCode()
Getter for CountryCode.
|
String |
getLine1()
Getter for Line1.
|
String |
getLine2()
Getter for Line2.
|
String |
getPostalCode()
Getter for PostalCode.
|
String |
getState()
Getter for State.
|
void |
setCity(String city)
Setter for City.
|
void |
setCountryCode(String countryCode)
Setter for CountryCode.
|
void |
setLine1(String line1)
Setter for Line1.
|
void |
setLine2(String line2)
Setter for Line2.
|
void |
setPostalCode(String postalCode)
Setter for PostalCode.
|
void |
setState(String state)
Setter for State.
|
SimplePostalAddressCoarseGrained.Builder |
toBuilder()
Builds a new
SimplePostalAddressCoarseGrained.Builder object. |
String |
toString()
Converts this SimplePostalAddressCoarseGrained into string format.
|
public SimplePostalAddressCoarseGrained()
public SimplePostalAddressCoarseGrained(String line1, String city, String countryCode, String line2, String state, String postalCode)
line1 - String value for line1.city - String value for city.countryCode - String value for countryCode.line2 - String value for line2.state - String value for state.postalCode - String value for postalCode.public String getLine1()
public void setLine1(String line1)
line1 - Value for Stringpublic String getLine2()
public void setLine2(String line2)
line2 - Value for Stringpublic String getCity()
public void setCity(String city)
city - Value for Stringpublic String getState()
public void setState(String state)
state - Value for Stringpublic String getCountryCode()
public void setCountryCode(String countryCode)
countryCode - Value for Stringpublic String getPostalCode()
public void setPostalCode(String postalCode)
postalCode - Value for Stringpublic String toString()
public SimplePostalAddressCoarseGrained.Builder toBuilder()
SimplePostalAddressCoarseGrained.Builder object.
Creates the instance with the state of the current model.SimplePostalAddressCoarseGrained.Builder objectCopyright © 2026. All rights reserved.