Class CfnSegmentDefinitionPropsMixin.AddressDimensionProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.customerprofiles.CfnSegmentDefinitionPropsMixin.AddressDimensionProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnSegmentDefinitionPropsMixin.AddressDimensionProperty>
- Enclosing interface:
CfnSegmentDefinitionPropsMixin.AddressDimensionProperty
@Stability(Stable)
public static final class CfnSegmentDefinitionPropsMixin.AddressDimensionProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnSegmentDefinitionPropsMixin.AddressDimensionProperty>
A builder for
CfnSegmentDefinitionPropsMixin.AddressDimensionProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnSegmentDefinitionPropsMixin.AddressDimensionProperty.getCity()city(IResolvable city) Sets the value ofCfnSegmentDefinitionPropsMixin.AddressDimensionProperty.getCity()Sets the value ofCfnSegmentDefinitionPropsMixin.AddressDimensionProperty.getCountry()country(IResolvable country) Sets the value ofCfnSegmentDefinitionPropsMixin.AddressDimensionProperty.getCountry()Sets the value ofCfnSegmentDefinitionPropsMixin.AddressDimensionProperty.getCounty()county(IResolvable county) Sets the value ofCfnSegmentDefinitionPropsMixin.AddressDimensionProperty.getCounty()Sets the value ofCfnSegmentDefinitionPropsMixin.AddressDimensionProperty.getPostalCode()postalCode(IResolvable postalCode) Sets the value ofCfnSegmentDefinitionPropsMixin.AddressDimensionProperty.getPostalCode()Sets the value ofCfnSegmentDefinitionPropsMixin.AddressDimensionProperty.getProvince()province(IResolvable province) Sets the value ofCfnSegmentDefinitionPropsMixin.AddressDimensionProperty.getProvince()Sets the value ofCfnSegmentDefinitionPropsMixin.AddressDimensionProperty.getState()state(IResolvable state) Sets the value ofCfnSegmentDefinitionPropsMixin.AddressDimensionProperty.getState()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
city
@Stability(Stable) public CfnSegmentDefinitionPropsMixin.AddressDimensionProperty.Builder city(IResolvable city) Sets the value ofCfnSegmentDefinitionPropsMixin.AddressDimensionProperty.getCity()- Parameters:
city- The city belonging to the address.- Returns:
this
-
city
@Stability(Stable) public CfnSegmentDefinitionPropsMixin.AddressDimensionProperty.Builder city(CfnSegmentDefinitionPropsMixin.ProfileDimensionProperty city) Sets the value ofCfnSegmentDefinitionPropsMixin.AddressDimensionProperty.getCity()- Parameters:
city- The city belonging to the address.- Returns:
this
-
country
@Stability(Stable) public CfnSegmentDefinitionPropsMixin.AddressDimensionProperty.Builder country(IResolvable country) Sets the value ofCfnSegmentDefinitionPropsMixin.AddressDimensionProperty.getCountry()- Parameters:
country- The country belonging to the address.- Returns:
this
-
country
@Stability(Stable) public CfnSegmentDefinitionPropsMixin.AddressDimensionProperty.Builder country(CfnSegmentDefinitionPropsMixin.ProfileDimensionProperty country) Sets the value ofCfnSegmentDefinitionPropsMixin.AddressDimensionProperty.getCountry()- Parameters:
country- The country belonging to the address.- Returns:
this
-
county
@Stability(Stable) public CfnSegmentDefinitionPropsMixin.AddressDimensionProperty.Builder county(IResolvable county) Sets the value ofCfnSegmentDefinitionPropsMixin.AddressDimensionProperty.getCounty()- Parameters:
county- The county belonging to the address.- Returns:
this
-
county
@Stability(Stable) public CfnSegmentDefinitionPropsMixin.AddressDimensionProperty.Builder county(CfnSegmentDefinitionPropsMixin.ProfileDimensionProperty county) Sets the value ofCfnSegmentDefinitionPropsMixin.AddressDimensionProperty.getCounty()- Parameters:
county- The county belonging to the address.- Returns:
this
-
postalCode
@Stability(Stable) public CfnSegmentDefinitionPropsMixin.AddressDimensionProperty.Builder postalCode(IResolvable postalCode) Sets the value ofCfnSegmentDefinitionPropsMixin.AddressDimensionProperty.getPostalCode()- Parameters:
postalCode- The postal code belonging to the address.- Returns:
this
-
postalCode
@Stability(Stable) public CfnSegmentDefinitionPropsMixin.AddressDimensionProperty.Builder postalCode(CfnSegmentDefinitionPropsMixin.ProfileDimensionProperty postalCode) Sets the value ofCfnSegmentDefinitionPropsMixin.AddressDimensionProperty.getPostalCode()- Parameters:
postalCode- The postal code belonging to the address.- Returns:
this
-
province
@Stability(Stable) public CfnSegmentDefinitionPropsMixin.AddressDimensionProperty.Builder province(IResolvable province) Sets the value ofCfnSegmentDefinitionPropsMixin.AddressDimensionProperty.getProvince()- Parameters:
province- The province belonging to the address.- Returns:
this
-
province
@Stability(Stable) public CfnSegmentDefinitionPropsMixin.AddressDimensionProperty.Builder province(CfnSegmentDefinitionPropsMixin.ProfileDimensionProperty province) Sets the value ofCfnSegmentDefinitionPropsMixin.AddressDimensionProperty.getProvince()- Parameters:
province- The province belonging to the address.- Returns:
this
-
state
@Stability(Stable) public CfnSegmentDefinitionPropsMixin.AddressDimensionProperty.Builder state(IResolvable state) Sets the value ofCfnSegmentDefinitionPropsMixin.AddressDimensionProperty.getState()- Parameters:
state- The state belonging to the address.- Returns:
this
-
state
@Stability(Stable) public CfnSegmentDefinitionPropsMixin.AddressDimensionProperty.Builder state(CfnSegmentDefinitionPropsMixin.ProfileDimensionProperty state) Sets the value ofCfnSegmentDefinitionPropsMixin.AddressDimensionProperty.getState()- Parameters:
state- The state belonging to the address.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnSegmentDefinitionPropsMixin.AddressDimensionProperty>- Returns:
- a new instance of
CfnSegmentDefinitionPropsMixin.AddressDimensionProperty - Throws:
NullPointerException- if any required attribute was not provided
-