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.Buildercountry(String country)The country of the address.Address.Builderformatted(String formatted)A string containing a formatted version of the address for display.Address.Builderlocality(String locality)A string of the address locality.Address.BuilderpostalCode(String postalCode)The postal code of the address.Address.Builderprimary(Boolean primary)A Boolean value representing whether this is the primary address for the associated resource.Address.Builderregion(String region)The region of the address.Address.BuilderstreetAddress(String streetAddress)The street of the address.Address.Buildertype(String type)A string representing the type of 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
-
streetAddress
Address.Builder streetAddress(String streetAddress)
The street of the address.
- Parameters:
streetAddress- The street of the address.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
locality
Address.Builder locality(String locality)
A string of the address locality.
- Parameters:
locality- A string of the address locality.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
region
Address.Builder region(String region)
The region of the address.
- Parameters:
region- The region of 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 of the address.
- Parameters:
postalCode- The postal code of the 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 the address.
- Parameters:
country- The country of the address.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
formatted
Address.Builder formatted(String formatted)
A string containing a formatted version of the address for display.
- Parameters:
formatted- A string containing a formatted version of the address for display.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
type
Address.Builder type(String type)
A string representing the type of address. For example, "Home."
- Parameters:
type- A string representing the type of address. For example, "Home."- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
primary
Address.Builder primary(Boolean primary)
A Boolean value representing whether this is the primary address for the associated resource.
- Parameters:
primary- A Boolean value representing whether this is the primary address for the associated resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-