Interface AddressDimension.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<AddressDimension.Builder,,AddressDimension> SdkBuilder<AddressDimension.Builder,,AddressDimension> SdkPojo
- Enclosing class:
AddressDimension
-
Method Summary
Modifier and TypeMethodDescriptiondefault AddressDimension.Buildercity(Consumer<ProfileDimension.Builder> city) The city belonging to the address.city(ProfileDimension city) The city belonging to the address.default AddressDimension.Buildercountry(Consumer<ProfileDimension.Builder> country) The country belonging to the address.country(ProfileDimension country) The country belonging to the address.default AddressDimension.Buildercounty(Consumer<ProfileDimension.Builder> county) The county belonging to the address.county(ProfileDimension county) The county belonging to the address.default AddressDimension.BuilderpostalCode(Consumer<ProfileDimension.Builder> postalCode) The postal code belonging to the address.postalCode(ProfileDimension postalCode) The postal code belonging to the address.default AddressDimension.Builderprovince(Consumer<ProfileDimension.Builder> province) The province belonging to the address.province(ProfileDimension province) The province belonging to the address.default AddressDimension.Builderstate(Consumer<ProfileDimension.Builder> state) The state belonging to the address.state(ProfileDimension state) The state belonging to the address.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 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
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:
-
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
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:
-
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
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:
-
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
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:
-
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
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:
-
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
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:
-