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.BuilderaddressLine1(String addressLine1)The first line of the address.Address.BuilderaddressLine2(String addressLine2)The second line of the address.Address.BuilderaddressLine3(String addressLine3)The third line of the address.Address.Buildercity(String city)The city for the address.Address.BuildercontactName(String contactName)The name of the contact.Address.BuildercontactPhoneNumber(String contactPhoneNumber)The phone number of the contact.Address.BuildercountryCode(String countryCode)The ISO-3166 two-letter country code for the address.Address.BuilderdistrictOrCounty(String districtOrCounty)The district or county for the address.Address.Buildermunicipality(String municipality)The municipality for the address.Address.BuilderpostalCode(String postalCode)The postal code for the address.Address.BuilderstateOrRegion(String stateOrRegion)The state for the address.-
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, sdkFields
-
-
-
-
Method Detail
-
contactName
Address.Builder contactName(String contactName)
The name of the contact.
- Parameters:
contactName- The name of the contact.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
contactPhoneNumber
Address.Builder contactPhoneNumber(String contactPhoneNumber)
The phone number of the contact.
- Parameters:
contactPhoneNumber- The phone number of the contact.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
addressLine1
Address.Builder addressLine1(String 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
Address.Builder addressLine2(String addressLine2)
The second line of the address.
- Parameters:
addressLine2- The second line of the address.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
addressLine3
Address.Builder addressLine3(String addressLine3)
The third line of the address.
- Parameters:
addressLine3- The third line of the address.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
city
Address.Builder city(String city)
The city for the address.
- Parameters:
city- The city for the address.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
stateOrRegion
Address.Builder stateOrRegion(String stateOrRegion)
The state for the address.
- Parameters:
stateOrRegion- The state for the address.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
districtOrCounty
Address.Builder districtOrCounty(String districtOrCounty)
The district or county for the address.
- Parameters:
districtOrCounty- The district or county for the 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 for the address.
- Parameters:
postalCode- The postal code for the address.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
countryCode
Address.Builder countryCode(String countryCode)
The ISO-3166 two-letter country code for the address.
- Parameters:
countryCode- The ISO-3166 two-letter country code for the address.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
municipality
Address.Builder municipality(String municipality)
The municipality for the address.
- Parameters:
municipality- The municipality for the address.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-