Interface Address.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Address.Builder,Address>,SdkBuilder<Address.Builder,Address>,SdkPojo
- Enclosing class:
- Address
public static interface Address.Builder extends SdkPojo, CopyableBuilder<Address.Builder,Address>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Address.Buildercity(String city)The city of an address.Address.Buildercountry(String country)The country of an address.Address.BuilderpostalCode(String postalCode)The postal code of an address.Address.BuilderpostalCodePlus4(String postalCodePlus4)The Zip + 4 or postal code + 4 of an address.Address.BuilderpostDirectional(String postDirectional)An address suffix location, such as theS.Address.BuilderpreDirectional(String preDirectional)An address prefix location, such as theNinN.Address.Builderstate(String state)The state of an address.Address.BuilderstreetName(String streetName)The address street, such as8th Avenue.Address.BuilderstreetNumber(String streetNumber)The numeric portion of an address.Address.BuilderstreetSuffix(String streetSuffix)The address suffix, such as theNin8th Avenue N.-
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
-
streetName
Address.Builder streetName(String streetName)
The address street, such as
8th Avenue.- Parameters:
streetName- The address street, such as8th Avenue.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
streetSuffix
Address.Builder streetSuffix(String streetSuffix)
The address suffix, such as the
Nin8th Avenue N.- Parameters:
streetSuffix- The address suffix, such as theNin8th Avenue N.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
postDirectional
Address.Builder postDirectional(String postDirectional)
An address suffix location, such as the
S. Unit AinCentral Park S. Unit A.- Parameters:
postDirectional- An address suffix location, such as theS. Unit AinCentral Park S. Unit A.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
preDirectional
Address.Builder preDirectional(String preDirectional)
An address prefix location, such as the
NinN. Third St..- Parameters:
preDirectional- An address prefix location, such as theNinN. Third St..- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
streetNumber
Address.Builder streetNumber(String streetNumber)
The numeric portion of an address.
- Parameters:
streetNumber- The numeric portion of an address.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
city
Address.Builder city(String city)
The city of an address.
- Parameters:
city- The city of an address.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
state
Address.Builder state(String state)
The state of an address.
- Parameters:
state- The state of an address.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
postalCode
Address.Builder postalCode(String postalCode)
The postal code of an address.
- Parameters:
postalCode- The postal code of an address.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
postalCodePlus4
Address.Builder postalCodePlus4(String postalCodePlus4)
The Zip + 4 or postal code + 4 of an address.
- Parameters:
postalCodePlus4- The Zip + 4 or postal code + 4 of an address.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
country
Address.Builder country(String country)
The country of an address.
- Parameters:
country- The country of an address.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-