| Package | Description |
|---|---|
| com.amazonaws.services.cloudfront.model |
Classes modeling the various types represented by AmazonCloudFront.
|
| Modifier and Type | Method and Description |
|---|---|
static GeoRestrictionType |
GeoRestrictionType.fromValue(String value)
Use this in place of valueOf.
|
static GeoRestrictionType |
GeoRestrictionType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GeoRestrictionType[] |
GeoRestrictionType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
void |
GeoRestriction.setRestrictionType(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(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.
|
| Constructor and Description |
|---|
GeoRestriction(GeoRestrictionType restrictionType)
Constructs a new GeoRestriction object.
|
Copyright © 2016. All rights reserved.