Interface AddressDimension.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AddressDimension.Builder,
,AddressDimension> SdkBuilder<AddressDimension.Builder,
,AddressDimension> SdkPojo
- Enclosing class:
AddressDimension
-
Method Summary
Modifier and TypeMethodDescriptiondefault AddressDimension.Builder
city
(Consumer<ProfileDimension.Builder> city) The city belonging to the address.city
(ProfileDimension city) The city belonging to the address.default AddressDimension.Builder
country
(Consumer<ProfileDimension.Builder> country) The country belonging to the address.country
(ProfileDimension country) The country belonging to the address.default AddressDimension.Builder
county
(Consumer<ProfileDimension.Builder> county) The county belonging to the address.county
(ProfileDimension county) The county belonging to the address.default AddressDimension.Builder
postalCode
(Consumer<ProfileDimension.Builder> postalCode) The postal code belonging to the address.postalCode
(ProfileDimension postalCode) The postal code belonging to the address.default AddressDimension.Builder
province
(Consumer<ProfileDimension.Builder> province) The province belonging to the address.province
(ProfileDimension province) The province belonging to the address.default AddressDimension.Builder
state
(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
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
-
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.Builder
avoiding the need to create one manually viaProfileDimension.builder()
.When the
Consumer
completes,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.Builder
avoiding the need to create one manually viaProfileDimension.builder()
.When the
Consumer
completes,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.Builder
avoiding the need to create one manually viaProfileDimension.builder()
.When the
Consumer
completes,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.Builder
avoiding the need to create one manually viaProfileDimension.builder()
.When the
Consumer
completes,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.Builder
avoiding the need to create one manually viaProfileDimension.builder()
.When the
Consumer
completes,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.Builder
avoiding the need to create one manually viaProfileDimension.builder()
.When the
Consumer
completes,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:
-