@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CandidateAddress extends Object implements Serializable, Cloneable, StructuredPojo
A suggested address.
Constructor and Description |
---|
CandidateAddress() |
Modifier and Type | Method and Description |
---|---|
CandidateAddress |
clone() |
boolean |
equals(Object obj) |
String |
getCity()
The city of a candidate address.
|
String |
getCountry()
The country of a candidate address.
|
String |
getPostalCode()
The postal code of a candidate address.
|
String |
getPostalCodePlus4()
The Zip + 4 or postal code + 4 of a candidate address.
|
String |
getState()
The state of a candidate address.
|
String |
getStreetInfo()
The street information of a candidate address
|
String |
getStreetNumber()
The numeric portion of a candidate address.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCity(String city)
The city of a candidate address.
|
void |
setCountry(String country)
The country of a candidate address.
|
void |
setPostalCode(String postalCode)
The postal code of a candidate address.
|
void |
setPostalCodePlus4(String postalCodePlus4)
The Zip + 4 or postal code + 4 of a candidate address.
|
void |
setState(String state)
The state of a candidate address.
|
void |
setStreetInfo(String streetInfo)
The street information of a candidate address
|
void |
setStreetNumber(String streetNumber)
The numeric portion of a candidate address.
|
String |
toString()
Returns a string representation of this object.
|
CandidateAddress |
withCity(String city)
The city of a candidate address.
|
CandidateAddress |
withCountry(String country)
The country of a candidate address.
|
CandidateAddress |
withPostalCode(String postalCode)
The postal code of a candidate address.
|
CandidateAddress |
withPostalCodePlus4(String postalCodePlus4)
The Zip + 4 or postal code + 4 of a candidate address.
|
CandidateAddress |
withState(String state)
The state of a candidate address.
|
CandidateAddress |
withStreetInfo(String streetInfo)
The street information of a candidate address
|
CandidateAddress |
withStreetNumber(String streetNumber)
The numeric portion of a candidate address.
|
public void setStreetInfo(String streetInfo)
The street information of a candidate address
streetInfo
- The street information of a candidate addresspublic String getStreetInfo()
The street information of a candidate address
public CandidateAddress withStreetInfo(String streetInfo)
The street information of a candidate address
streetInfo
- The street information of a candidate addresspublic void setStreetNumber(String streetNumber)
The numeric portion of a candidate address.
streetNumber
- The numeric portion of a candidate address.public String getStreetNumber()
The numeric portion of a candidate address.
public CandidateAddress withStreetNumber(String streetNumber)
The numeric portion of a candidate address.
streetNumber
- The numeric portion of a candidate address.public void setCity(String city)
The city of a candidate address.
city
- The city of a candidate address.public String getCity()
The city of a candidate address.
public CandidateAddress withCity(String city)
The city of a candidate address.
city
- The city of a candidate address.public void setState(String state)
The state of a candidate address.
state
- The state of a candidate address.public String getState()
The state of a candidate address.
public CandidateAddress withState(String state)
The state of a candidate address.
state
- The state of a candidate address.public void setPostalCode(String postalCode)
The postal code of a candidate address.
postalCode
- The postal code of a candidate address.public String getPostalCode()
The postal code of a candidate address.
public CandidateAddress withPostalCode(String postalCode)
The postal code of a candidate address.
postalCode
- The postal code of a candidate address.public void setPostalCodePlus4(String postalCodePlus4)
The Zip + 4 or postal code + 4 of a candidate address.
postalCodePlus4
- The Zip + 4 or postal code + 4 of a candidate address.public String getPostalCodePlus4()
The Zip + 4 or postal code + 4 of a candidate address.
public CandidateAddress withPostalCodePlus4(String postalCodePlus4)
The Zip + 4 or postal code + 4 of a candidate address.
postalCodePlus4
- The Zip + 4 or postal code + 4 of a candidate address.public void setCountry(String country)
The country of a candidate address.
country
- The country of a candidate address.public String getCountry()
The country of a candidate address.
public CandidateAddress withCountry(String country)
The country of a candidate address.
country
- The country of a candidate address.public String toString()
toString
in class Object
Object.toString()
public CandidateAddress clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.