Interface ValidateE911AddressResponse.Builder
- All Superinterfaces:
 AwsResponse.Builder,Buildable,ChimeSdkVoiceResponse.Builder,CopyableBuilder<ValidateE911AddressResponse.Builder,,ValidateE911AddressResponse> SdkBuilder<ValidateE911AddressResponse.Builder,,ValidateE911AddressResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
 ValidateE911AddressResponse
public static interface ValidateE911AddressResponse.Builder
extends ChimeSdkVoiceResponse.Builder, SdkPojo, CopyableBuilder<ValidateE911AddressResponse.Builder,ValidateE911AddressResponse> 
- 
Method Summary
Modifier and TypeMethodDescriptionaddress(Consumer<Address.Builder> address) The validated address.The validated address.addressExternalId(String addressExternalId) The ID that represents the address.candidateAddressList(Collection<CandidateAddress> candidateAddressList) The list of address suggestions..candidateAddressList(Consumer<CandidateAddress.Builder>... candidateAddressList) The list of address suggestions..candidateAddressList(CandidateAddress... candidateAddressList) The list of address suggestions..validationResult(Integer validationResult) Number indicating the result of address validation.Methods inherited from interface software.amazon.awssdk.services.chimesdkvoice.model.ChimeSdkVoiceResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse 
- 
Method Details
- 
validationResult
Number indicating the result of address validation.
0means the address was perfect as-is and successfully validated.1means the address was corrected.2means the address sent was not close enough and was not validated.- Parameters:
 validationResult- Number indicating the result of address validation.0means the address was perfect as-is and successfully validated.1means the address was corrected.2means the address sent was not close enough and was not validated.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
addressExternalId
The ID that represents the address.
- Parameters:
 addressExternalId- The ID that represents the address.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
address
The validated address.
- Parameters:
 address- The validated address.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
address
The validated address.
This is a convenience method that creates an instance of theAddress.Builderavoiding the need to create one manually viaAddress.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toaddress(Address).- Parameters:
 address- a consumer that will call methods onAddress.Builder- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 - See Also:
 
 - 
candidateAddressList
ValidateE911AddressResponse.Builder candidateAddressList(Collection<CandidateAddress> candidateAddressList) The list of address suggestions..
- Parameters:
 candidateAddressList- The list of address suggestions..- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
candidateAddressList
The list of address suggestions..
- Parameters:
 candidateAddressList- The list of address suggestions..- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
candidateAddressList
ValidateE911AddressResponse.Builder candidateAddressList(Consumer<CandidateAddress.Builder>... candidateAddressList) The list of address suggestions..
This is a convenience method that creates an instance of theCandidateAddress.Builderavoiding the need to create one manually viaCandidateAddress.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocandidateAddressList(List<CandidateAddress>).- Parameters:
 candidateAddressList- a consumer that will call methods onCandidateAddress.Builder- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 - See Also:
 
 
 -