Interface ValidateE911AddressResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,ChimeResponse.Builder
,CopyableBuilder<ValidateE911AddressResponse.Builder,
,ValidateE911AddressResponse> SdkBuilder<ValidateE911AddressResponse.Builder,
,ValidateE911AddressResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ValidateE911AddressResponse
public static interface ValidateE911AddressResponse.Builder
extends ChimeResponse.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.chime.model.ChimeResponse.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, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
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.- Parameters:
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.- 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:
-