Interface Address.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Address.Builder,
,Address> SdkBuilder<Address.Builder,
,Address> SdkPojo
- Enclosing class:
Address
-
Method Summary
Modifier and TypeMethodDescriptionaddressLine1
(String addressLine1) The first line of the address.addressLine2
(String addressLine2) The second line of the address, if applicable.addressLine3
(String addressLine3) The third line of the address, if applicable.The city that the address is in.countryCode
(String countryCode) The country code for the country that the address is in.districtOrCounty
(String districtOrCounty) The district or county the address is located.postalCode
(String postalCode) The postal code associated with the address.stateOrRegion
(String stateOrRegion) The state, region, or province that the address is located.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 Details
-
addressLine1
The first line of the address.
- Parameters:
addressLine1
- The first line of the address.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
addressLine2
The second line of the address, if applicable.
- Parameters:
addressLine2
- The second line of the address, if applicable.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
addressLine3
The third line of the address, if applicable. Currently, the Tax Settings API accepts the
addressLine3
parameter only for Saudi Arabia. When you specify a TRN in Saudi Arabia, you must enter theaddressLine3
and specify the building number for the address. For example, you might enter1234
.- Parameters:
addressLine3
- The third line of the address, if applicable. Currently, the Tax Settings API accepts theaddressLine3
parameter only for Saudi Arabia. When you specify a TRN in Saudi Arabia, you must enter theaddressLine3
and specify the building number for the address. For example, you might enter1234
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
city
The city that the address is in.
- Parameters:
city
- The city that the address is in.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
countryCode
The country code for the country that the address is in.
- Parameters:
countryCode
- The country code for the country that the address is in.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
districtOrCounty
The district or county the address is located.
For addresses in Brazil, this parameter uses the name of the neighborhood. When you set a TRN in Brazil, use
districtOrCounty
for the neighborhood name.- Parameters:
districtOrCounty
- The district or county the address is located.For addresses in Brazil, this parameter uses the name of the neighborhood. When you set a TRN in Brazil, use
districtOrCounty
for the neighborhood name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
postalCode
The postal code associated with the address.
- Parameters:
postalCode
- The postal code associated with the address.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
stateOrRegion
The state, region, or province that the address is located. This field is only required for Canada, India, United Arab Emirates, Romania, and Brazil (CPF). It is optional for all other countries.
If this is required for tax settings, use the same name as shown on the Tax Settings page.
- Parameters:
stateOrRegion
- The state, region, or province that the address is located. This field is only required for Canada, India, United Arab Emirates, Romania, and Brazil (CPF). It is optional for all other countries.If this is required for tax settings, use the same name as shown on the Tax Settings page.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-