Interface ValidateE911AddressResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,ChimeSdkVoiceResponse.Builder
,CopyableBuilder<ValidateE911AddressResponse.Builder,
,ValidateE911AddressResponse> SdkBuilder<ValidateE911AddressResponse.Builder,
,ValidateE911AddressResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
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, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
validationResult
Number indicating the result of address validation.
Each possible result is defined as follows:
-
0
- Address validation succeeded. -
1
- Address validation succeeded. The address was a close enough match and has been corrected as part of the address object. -
2
- Address validation failed. You should re-submit the validation request with candidates from theCandidateAddressList
result, if it's a close match.
- Parameters:
validationResult
- Number indicating the result of address validation.Each possible result is defined as follows:
-
0
- Address validation succeeded. -
1
- Address validation succeeded. The address was a close enough match and has been corrected as part of the address object. -
2
- Address validation failed. You should re-submit the validation request with candidates from theCandidateAddressList
result, if it's a close match.
-
- 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.Builder
avoiding the need to create one manually viaAddress.builder()
.When the
Consumer
completes,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.Builder
avoiding the need to create one manually viaCandidateAddress.builder()
.When the
Consumer
completes,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:
-