| Package | Description | 
|---|---|
| com.amazonaws.services.cloudfront.model | 
| Modifier and Type | Method and Description | 
|---|---|
| GeoRestriction | GeoRestriction. clone() | 
| GeoRestriction | Restrictions. getGeoRestriction() | 
| GeoRestriction | GeoRestriction. withItems(Collection<String> items)
 A complex type that contains a  Locationelement for each country in which you want CloudFront either
 to distribute your content (whitelist) or not distribute your content (blacklist). | 
| GeoRestriction | GeoRestriction. withItems(String... items)
 A complex type that contains a  Locationelement for each country in which you want CloudFront either
 to distribute your content (whitelist) or not distribute your content (blacklist). | 
| GeoRestriction | GeoRestriction. withQuantity(Integer quantity)
 When geo restriction is  enabled, this is the number of countries in yourwhitelistorblacklist. | 
| GeoRestriction | GeoRestriction. withRestrictionType(GeoRestrictionType restrictionType)
 The method that you want to use to restrict distribution of your content by country: | 
| GeoRestriction | GeoRestriction. withRestrictionType(String restrictionType)
 The method that you want to use to restrict distribution of your content by country: | 
| Modifier and Type | Method and Description | 
|---|---|
| void | Restrictions. setGeoRestriction(GeoRestriction geoRestriction) | 
| Restrictions | Restrictions. withGeoRestriction(GeoRestriction geoRestriction) | 
| Constructor and Description | 
|---|
| Restrictions(GeoRestriction geoRestriction)Constructs a new Restrictions object. | 
Copyright © 2017. All rights reserved.