Class CfnSitePropsMixin.AddressProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.outposts.CfnSitePropsMixin.AddressProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnSitePropsMixin.AddressProperty>
- Enclosing interface:
CfnSitePropsMixin.AddressProperty
@Stability(Stable)
public static final class CfnSitePropsMixin.AddressProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnSitePropsMixin.AddressProperty>
A builder for
CfnSitePropsMixin.AddressProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddressLine1(String addressLine1) Sets the value ofCfnSitePropsMixin.AddressProperty.getAddressLine1()addressLine2(String addressLine2) Sets the value ofCfnSitePropsMixin.AddressProperty.getAddressLine2()addressLine3(String addressLine3) Sets the value ofCfnSitePropsMixin.AddressProperty.getAddressLine3()build()Builds the configured instance.Sets the value ofCfnSitePropsMixin.AddressProperty.getCity()contactName(String contactName) Sets the value ofCfnSitePropsMixin.AddressProperty.getContactName()contactPhoneNumber(String contactPhoneNumber) Sets the value ofCfnSitePropsMixin.AddressProperty.getContactPhoneNumber()countryCode(String countryCode) Sets the value ofCfnSitePropsMixin.AddressProperty.getCountryCode()districtOrCounty(String districtOrCounty) Sets the value ofCfnSitePropsMixin.AddressProperty.getDistrictOrCounty()municipality(String municipality) Sets the value ofCfnSitePropsMixin.AddressProperty.getMunicipality()postalCode(String postalCode) Sets the value ofCfnSitePropsMixin.AddressProperty.getPostalCode()stateOrRegion(String stateOrRegion) Sets the value ofCfnSitePropsMixin.AddressProperty.getStateOrRegion()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
addressLine1
@Stability(Stable) public CfnSitePropsMixin.AddressProperty.Builder addressLine1(String addressLine1) Sets the value ofCfnSitePropsMixin.AddressProperty.getAddressLine1()- Parameters:
addressLine1- the value to be set.- Returns:
this
-
addressLine2
@Stability(Stable) public CfnSitePropsMixin.AddressProperty.Builder addressLine2(String addressLine2) Sets the value ofCfnSitePropsMixin.AddressProperty.getAddressLine2()- Parameters:
addressLine2- the value to be set.- Returns:
this
-
addressLine3
@Stability(Stable) public CfnSitePropsMixin.AddressProperty.Builder addressLine3(String addressLine3) Sets the value ofCfnSitePropsMixin.AddressProperty.getAddressLine3()- Parameters:
addressLine3- the value to be set.- Returns:
this
-
city
Sets the value ofCfnSitePropsMixin.AddressProperty.getCity()- Parameters:
city- the value to be set.- Returns:
this
-
contactName
Sets the value ofCfnSitePropsMixin.AddressProperty.getContactName()- Parameters:
contactName- the value to be set.- Returns:
this
-
contactPhoneNumber
@Stability(Stable) public CfnSitePropsMixin.AddressProperty.Builder contactPhoneNumber(String contactPhoneNumber) Sets the value ofCfnSitePropsMixin.AddressProperty.getContactPhoneNumber()- Parameters:
contactPhoneNumber- the value to be set.- Returns:
this
-
countryCode
Sets the value ofCfnSitePropsMixin.AddressProperty.getCountryCode()- Parameters:
countryCode- the value to be set.- Returns:
this
-
districtOrCounty
@Stability(Stable) public CfnSitePropsMixin.AddressProperty.Builder districtOrCounty(String districtOrCounty) Sets the value ofCfnSitePropsMixin.AddressProperty.getDistrictOrCounty()- Parameters:
districtOrCounty- the value to be set.- Returns:
this
-
municipality
@Stability(Stable) public CfnSitePropsMixin.AddressProperty.Builder municipality(String municipality) Sets the value ofCfnSitePropsMixin.AddressProperty.getMunicipality()- Parameters:
municipality- the value to be set.- Returns:
this
-
postalCode
Sets the value ofCfnSitePropsMixin.AddressProperty.getPostalCode()- Parameters:
postalCode- the value to be set.- Returns:
this
-
stateOrRegion
@Stability(Stable) public CfnSitePropsMixin.AddressProperty.Builder stateOrRegion(String stateOrRegion) Sets the value ofCfnSitePropsMixin.AddressProperty.getStateOrRegion()- Parameters:
stateOrRegion- the value to be set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnSitePropsMixin.AddressProperty>- Returns:
- a new instance of
CfnSitePropsMixin.AddressProperty - Throws:
NullPointerException- if any required attribute was not provided
-