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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default ValidateE911AddressResponse.Builderaddress(Consumer<Address.Builder> address)The validated address.ValidateE911AddressResponse.Builderaddress(Address address)The validated address.ValidateE911AddressResponse.BuilderaddressExternalId(String addressExternalId)The ID that represents the address.ValidateE911AddressResponse.BuildercandidateAddressList(Collection<CandidateAddress> candidateAddressList)The list of address suggestions.ValidateE911AddressResponse.BuildercandidateAddressList(Consumer<CandidateAddress.Builder>... candidateAddressList)The list of address suggestions.ValidateE911AddressResponse.BuildercandidateAddressList(CandidateAddress... candidateAddressList)The list of address suggestions.ValidateE911AddressResponse.BuildervalidationResult(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 Detail
-
validationResult
ValidateE911AddressResponse.Builder validationResult(Integer 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
ValidateE911AddressResponse.Builder addressExternalId(String 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
ValidateE911AddressResponse.Builder address(Address 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
default ValidateE911AddressResponse.Builder address(Consumer<Address.Builder> 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:
address(Address)
-
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
ValidateE911AddressResponse.Builder candidateAddressList(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
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 to#candidateAddressList(List.) - 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:
#candidateAddressList(java.util.Collection)
-
-