@Stability(value=Stable) public static final class CfnDistribution.GeoRestrictionProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnDistribution.GeoRestrictionProperty>
CfnDistribution.GeoRestrictionProperty| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnDistribution.GeoRestrictionProperty |
build()
Builds the configured instance.
|
CfnDistribution.GeoRestrictionProperty.Builder |
locations(List<String> locations)
Sets the value of
CfnDistribution.GeoRestrictionProperty.getLocations() |
CfnDistribution.GeoRestrictionProperty.Builder |
restrictionType(String restrictionType)
Sets the value of
CfnDistribution.GeoRestrictionProperty.getRestrictionType() |
@Stability(value=Stable) public CfnDistribution.GeoRestrictionProperty.Builder restrictionType(String restrictionType)
CfnDistribution.GeoRestrictionProperty.getRestrictionType()restrictionType - `CfnDistribution.GeoRestrictionProperty.RestrictionType`. This parameter is required.this@Stability(value=Stable) public CfnDistribution.GeoRestrictionProperty.Builder locations(List<String> locations)
CfnDistribution.GeoRestrictionProperty.getLocations()locations - `CfnDistribution.GeoRestrictionProperty.Locations`.this@Stability(value=Stable) public CfnDistribution.GeoRestrictionProperty build()
build in interface software.amazon.jsii.Builder<CfnDistribution.GeoRestrictionProperty>CfnDistribution.GeoRestrictionPropertyNullPointerException - if any required attribute was not providedCopyright © 2021. All rights reserved.