Interface PostalCodeDetails.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<PostalCodeDetails.Builder,,PostalCodeDetails> SdkBuilder<PostalCodeDetails.Builder,,PostalCodeDetails> SdkPojo
- Enclosing class:
PostalCodeDetails
-
Method Summary
Modifier and TypeMethodDescriptionpostalAuthority(String postalAuthority) The postal authority or entity.postalAuthority(PostalAuthority postalAuthority) The postal authority or entity.postalCode(String postalCode) An alphanumeric string included in a postal address to facilitate mail sorting, such as post code, postcode, or ZIP code for which the result should posses.postalCodeType(String postalCodeType) The postal code type.postalCodeType(PostalCodeType postalCodeType) The postal code type.default PostalCodeDetails.BuilderuspsZip(Consumer<UspsZip.Builder> uspsZip) The ZIP Classification Code, or in other words what type of postal code is it.The ZIP Classification Code, or in other words what type of postal code is it.default PostalCodeDetails.BuilderuspsZipPlus4(Consumer<UspsZipPlus4.Builder> uspsZipPlus4) The USPS ZIP+4 Record Type Code.uspsZipPlus4(UspsZipPlus4 uspsZipPlus4) The USPS ZIP+4 Record Type Code.Methods 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, sdkFieldNameToField, sdkFields
-
Method Details
-
postalCode
An alphanumeric string included in a postal address to facilitate mail sorting, such as post code, postcode, or ZIP code for which the result should posses.
- Parameters:
postalCode- An alphanumeric string included in a postal address to facilitate mail sorting, such as post code, postcode, or ZIP code for which the result should posses.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
postalAuthority
The postal authority or entity. This could be a governmental authority, a regulatory authority, or a designated postal operator.
- Parameters:
postalAuthority- The postal authority or entity. This could be a governmental authority, a regulatory authority, or a designated postal operator.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
postalAuthority
The postal authority or entity. This could be a governmental authority, a regulatory authority, or a designated postal operator.
- Parameters:
postalAuthority- The postal authority or entity. This could be a governmental authority, a regulatory authority, or a designated postal operator.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
postalCodeType
The postal code type.
- Parameters:
postalCodeType- The postal code type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
postalCodeType
The postal code type.
- Parameters:
postalCodeType- The postal code type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
uspsZip
The ZIP Classification Code, or in other words what type of postal code is it.
- Parameters:
uspsZip- The ZIP Classification Code, or in other words what type of postal code is it.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
uspsZip
The ZIP Classification Code, or in other words what type of postal code is it.
This is a convenience method that creates an instance of theUspsZip.Builderavoiding the need to create one manually viaUspsZip.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed touspsZip(UspsZip).- Parameters:
uspsZip- a consumer that will call methods onUspsZip.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
uspsZipPlus4
The USPS ZIP+4 Record Type Code.
- Parameters:
uspsZipPlus4- The USPS ZIP+4 Record Type Code.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
uspsZipPlus4
The USPS ZIP+4 Record Type Code.
This is a convenience method that creates an instance of theUspsZipPlus4.Builderavoiding the need to create one manually viaUspsZipPlus4.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed touspsZipPlus4(UspsZipPlus4).- Parameters:
uspsZipPlus4- a consumer that will call methods onUspsZipPlus4.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-