Interface AddressDimension.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<AddressDimension.Builder,AddressDimension>,SdkBuilder<AddressDimension.Builder,AddressDimension>,SdkPojo
- Enclosing class:
- AddressDimension
public static interface AddressDimension.Builder extends SdkPojo, CopyableBuilder<AddressDimension.Builder,AddressDimension>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default AddressDimension.Buildercity(Consumer<ProfileDimension.Builder> city)The city belonging to the address.AddressDimension.Buildercity(ProfileDimension city)The city belonging to the address.default AddressDimension.Buildercountry(Consumer<ProfileDimension.Builder> country)The country belonging to the address.AddressDimension.Buildercountry(ProfileDimension country)The country belonging to the address.default AddressDimension.Buildercounty(Consumer<ProfileDimension.Builder> county)The county belonging to the address.AddressDimension.Buildercounty(ProfileDimension county)The county belonging to the address.default AddressDimension.BuilderpostalCode(Consumer<ProfileDimension.Builder> postalCode)The postal code belonging to the address.AddressDimension.BuilderpostalCode(ProfileDimension postalCode)The postal code belonging to the address.default AddressDimension.Builderprovince(Consumer<ProfileDimension.Builder> province)The province belonging to the address.AddressDimension.Builderprovince(ProfileDimension province)The province belonging to the address.default AddressDimension.Builderstate(Consumer<ProfileDimension.Builder> state)The state belonging to the address.AddressDimension.Builderstate(ProfileDimension state)The state belonging to 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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
city
AddressDimension.Builder city(ProfileDimension city)
The city belonging to the address.
- Parameters:
city- The city belonging to the address.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
city
default AddressDimension.Builder city(Consumer<ProfileDimension.Builder> city)
The city belonging to the address.
This is a convenience method that creates an instance of theProfileDimension.Builderavoiding the need to create one manually viaProfileDimension.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocity(ProfileDimension).- Parameters:
city- a consumer that will call methods onProfileDimension.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
city(ProfileDimension)
-
country
AddressDimension.Builder country(ProfileDimension country)
The country belonging to the address.
- Parameters:
country- The country belonging to the address.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
country
default AddressDimension.Builder country(Consumer<ProfileDimension.Builder> country)
The country belonging to the address.
This is a convenience method that creates an instance of theProfileDimension.Builderavoiding the need to create one manually viaProfileDimension.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocountry(ProfileDimension).- Parameters:
country- a consumer that will call methods onProfileDimension.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
country(ProfileDimension)
-
county
AddressDimension.Builder county(ProfileDimension county)
The county belonging to the address.
- Parameters:
county- The county belonging to the address.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
county
default AddressDimension.Builder county(Consumer<ProfileDimension.Builder> county)
The county belonging to the address.
This is a convenience method that creates an instance of theProfileDimension.Builderavoiding the need to create one manually viaProfileDimension.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocounty(ProfileDimension).- Parameters:
county- a consumer that will call methods onProfileDimension.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
county(ProfileDimension)
-
postalCode
AddressDimension.Builder postalCode(ProfileDimension postalCode)
The postal code belonging to the address.
- Parameters:
postalCode- The postal code belonging to the address.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
postalCode
default AddressDimension.Builder postalCode(Consumer<ProfileDimension.Builder> postalCode)
The postal code belonging to the address.
This is a convenience method that creates an instance of theProfileDimension.Builderavoiding the need to create one manually viaProfileDimension.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed topostalCode(ProfileDimension).- Parameters:
postalCode- a consumer that will call methods onProfileDimension.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
postalCode(ProfileDimension)
-
province
AddressDimension.Builder province(ProfileDimension province)
The province belonging to the address.
- Parameters:
province- The province belonging to the address.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
province
default AddressDimension.Builder province(Consumer<ProfileDimension.Builder> province)
The province belonging to the address.
This is a convenience method that creates an instance of theProfileDimension.Builderavoiding the need to create one manually viaProfileDimension.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toprovince(ProfileDimension).- Parameters:
province- a consumer that will call methods onProfileDimension.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
province(ProfileDimension)
-
state
AddressDimension.Builder state(ProfileDimension state)
The state belonging to the address.
- Parameters:
state- The state belonging to the address.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
state
default AddressDimension.Builder state(Consumer<ProfileDimension.Builder> state)
The state belonging to the address.
This is a convenience method that creates an instance of theProfileDimension.Builderavoiding the need to create one manually viaProfileDimension.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tostate(ProfileDimension).- Parameters:
state- a consumer that will call methods onProfileDimension.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
state(ProfileDimension)
-
-