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 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) |
Restrictions |
Restrictions.withGeoRestriction(GeoRestriction geoRestriction) |
Constructor and Description |
---|
Restrictions(GeoRestriction geoRestriction)
Constructs a new Restrictions object.
|
Copyright © 2016. All rights reserved.