Interface PostalCodeDetails.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<PostalCodeDetails.Builder,PostalCodeDetails>,SdkBuilder<PostalCodeDetails.Builder,PostalCodeDetails>,SdkPojo
- Enclosing class:
- PostalCodeDetails
public static interface PostalCodeDetails.Builder extends SdkPojo, CopyableBuilder<PostalCodeDetails.Builder,PostalCodeDetails>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description PostalCodeDetails.BuilderpostalAuthority(String postalAuthority)The postal authority or entity.PostalCodeDetails.BuilderpostalAuthority(PostalAuthority postalAuthority)The postal authority or entity.PostalCodeDetails.BuilderpostalCode(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.PostalCodeDetails.BuilderpostalCodeType(String postalCodeType)The postal code type.PostalCodeDetails.BuilderpostalCodeType(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.PostalCodeDetails.BuilderuspsZip(UspsZip uspsZip)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.PostalCodeDetails.BuilderuspsZipPlus4(UspsZipPlus4 uspsZipPlus4)The USPS ZIP+4 Record Type Code.-
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
-
-
-
-
Method Detail
-
postalCode
PostalCodeDetails.Builder 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.
- 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
PostalCodeDetails.Builder postalAuthority(String 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,PostalAuthority
-
postalAuthority
PostalCodeDetails.Builder postalAuthority(PostalAuthority 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,PostalAuthority
-
postalCodeType
PostalCodeDetails.Builder postalCodeType(String 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,PostalCodeType
-
postalCodeType
PostalCodeDetails.Builder postalCodeType(PostalCodeType 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,PostalCodeType
-
uspsZip
PostalCodeDetails.Builder uspsZip(UspsZip 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
default PostalCodeDetails.Builder uspsZip(Consumer<UspsZip.Builder> 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:
uspsZip(UspsZip)
-
uspsZipPlus4
PostalCodeDetails.Builder uspsZipPlus4(UspsZipPlus4 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
default PostalCodeDetails.Builder uspsZipPlus4(Consumer<UspsZipPlus4.Builder> 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:
uspsZipPlus4(UspsZipPlus4)
-
-