Package | Description |
---|---|
com.amazonaws.services.cloudfront.model |
Classes modeling the various types represented by AmazonCloudFront.
|
Modifier and Type | Method and Description |
---|---|
GeoRestriction |
Restrictions.getGeoRestriction()
A complex type that controls the countries in which your content is
distributed.
|
GeoRestriction |
GeoRestriction.withItems(Collection<String> items)
A complex type that contains a Location element 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 Location element 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
your whitelist or blacklist.
|
GeoRestriction |
GeoRestriction.withRestrictionType(GeoRestrictionType restrictionType)
The method that you want to use to restrict distribution of your
content by country: - none: No geo restriction is enabled, meaning
access to content is not restricted by client geo location.
|
GeoRestriction |
GeoRestriction.withRestrictionType(String restrictionType)
The method that you want to use to restrict distribution of your
content by country: - none: No geo restriction is enabled, meaning
access to content is not restricted by client geo location.
|
Modifier and Type | Method and Description |
---|---|
void |
Restrictions.setGeoRestriction(GeoRestriction geoRestriction)
A complex type that controls the countries in which your content is
distributed.
|
Restrictions |
Restrictions.withGeoRestriction(GeoRestriction geoRestriction)
A complex type that controls the countries in which your content is
distributed.
|
Constructor and Description |
---|
Restrictions(GeoRestriction geoRestriction)
Constructs a new Restrictions object.
|
Copyright © 2014. All rights reserved.