Interface Address.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<Address.Builder,,Address> SdkBuilder<Address.Builder,,Address> SdkPojo
- Enclosing class:
Address
@Mutable
@NotThreadSafe
public static interface Address.Builder
extends SdkPojo, CopyableBuilder<Address.Builder,Address>
-
Method Summary
Modifier and TypeMethodDescriptionaddressLine(String addressLine) The first line of the street address.addressLine2(String addressLine2) The second line of the street address.The city or locality.countryCode(String countryCode) The two-letter ISO 3166-1 country code.postalCode(String postalCode) The postal code.stateOrRegion(String stateOrRegion) The state, province, or prefecture.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
-
city
The city or locality.
- Parameters:
city- The city or locality.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
stateOrRegion
The state, province, or prefecture.
- Parameters:
stateOrRegion- The state, province, or prefecture.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
postalCode
The postal code.
- Parameters:
postalCode- The postal code.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
countryCode
The two-letter ISO 3166-1 country code.
- Parameters:
countryCode- The two-letter ISO 3166-1 country code.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
addressLine
The first line of the street address.
- Parameters:
addressLine- The first line of the street address.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
addressLine2
The second line of the street address.
- Parameters:
addressLine2- The second line of the street address.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-