@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ValidateE911AddressResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description |
|---|
ValidateE911AddressResult() |
| Modifier and Type | Method and Description |
|---|---|
ValidateE911AddressResult |
clone() |
boolean |
equals(Object obj) |
Address |
getAddress()
The validated address.
|
String |
getAddressExternalId()
The ID that represents the address.
|
List<CandidateAddress> |
getCandidateAddressList()
The list of address suggestions.
|
Integer |
getValidationResult()
Number indicating the result of address validation.
|
int |
hashCode() |
void |
setAddress(Address address)
The validated address.
|
void |
setAddressExternalId(String addressExternalId)
The ID that represents the address.
|
void |
setCandidateAddressList(Collection<CandidateAddress> candidateAddressList)
The list of address suggestions.
|
void |
setValidationResult(Integer validationResult)
Number indicating the result of address validation.
|
String |
toString()
Returns a string representation of this object.
|
ValidateE911AddressResult |
withAddress(Address address)
The validated address.
|
ValidateE911AddressResult |
withAddressExternalId(String addressExternalId)
The ID that represents the address.
|
ValidateE911AddressResult |
withCandidateAddressList(CandidateAddress... candidateAddressList)
The list of address suggestions.
|
ValidateE911AddressResult |
withCandidateAddressList(Collection<CandidateAddress> candidateAddressList)
The list of address suggestions.
|
ValidateE911AddressResult |
withValidationResult(Integer validationResult)
Number indicating the result of address validation.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic void setValidationResult(Integer validationResult)
Number indicating the result of address validation. 0 means the address was perfect as is and
successfully validated. 1 means the address was corrected. 2 means the address sent was
not close enough and was not validated.
validationResult - Number indicating the result of address validation. 0 means the address was perfect as is and
successfully validated. 1 means the address was corrected. 2 means the address
sent was not close enough and was not validated.public Integer getValidationResult()
Number indicating the result of address validation. 0 means the address was perfect as is and
successfully validated. 1 means the address was corrected. 2 means the address sent was
not close enough and was not validated.
0 means the address was perfect as is
and successfully validated. 1 means the address was corrected. 2 means the
address sent was not close enough and was not validated.public ValidateE911AddressResult withValidationResult(Integer validationResult)
Number indicating the result of address validation. 0 means the address was perfect as is and
successfully validated. 1 means the address was corrected. 2 means the address sent was
not close enough and was not validated.
validationResult - Number indicating the result of address validation. 0 means the address was perfect as is and
successfully validated. 1 means the address was corrected. 2 means the address
sent was not close enough and was not validated.public void setAddressExternalId(String addressExternalId)
The ID that represents the address.
addressExternalId - The ID that represents the address.public String getAddressExternalId()
The ID that represents the address.
public ValidateE911AddressResult withAddressExternalId(String addressExternalId)
The ID that represents the address.
addressExternalId - The ID that represents the address.public void setAddress(Address address)
The validated address.
address - The validated address.public Address getAddress()
The validated address.
public ValidateE911AddressResult withAddress(Address address)
The validated address.
address - The validated address.public List<CandidateAddress> getCandidateAddressList()
The list of address suggestions.
public void setCandidateAddressList(Collection<CandidateAddress> candidateAddressList)
The list of address suggestions.
candidateAddressList - The list of address suggestions.public ValidateE911AddressResult withCandidateAddressList(CandidateAddress... candidateAddressList)
The list of address suggestions.
NOTE: This method appends the values to the existing list (if any). Use
setCandidateAddressList(java.util.Collection) or withCandidateAddressList(java.util.Collection)
if you want to override the existing values.
candidateAddressList - The list of address suggestions.public ValidateE911AddressResult withCandidateAddressList(Collection<CandidateAddress> candidateAddressList)
The list of address suggestions.
candidateAddressList - The list of address suggestions.public String toString()
toString in class ObjectObject.toString()public ValidateE911AddressResult clone()