Uses of Enum
com.amazonaws.services.cloudfront.model.GeoRestrictionType
Packages that use GeoRestrictionType
-
Uses of GeoRestrictionType in com.amazonaws.services.cloudfront.model
Methods in com.amazonaws.services.cloudfront.model that return GeoRestrictionTypeModifier and TypeMethodDescriptionstatic GeoRestrictionType
Use this in place of valueOf.static GeoRestrictionType
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.Methods in com.amazonaws.services.cloudfront.model with parameters of type GeoRestrictionTypeModifier and TypeMethodDescriptionvoid
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. - blacklist: The Location elements specify the countries in which you do not want CloudFront to distribute your content. - whitelist: The Location elements specify the countries in which you want CloudFront to distribute your content.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. - blacklist: The Location elements specify the countries in which you do not want CloudFront to distribute your content. - whitelist: The Location elements specify the countries in which you want CloudFront to distribute your content.Constructors in com.amazonaws.services.cloudfront.model with parameters of type GeoRestrictionTypeModifierConstructorDescriptionGeoRestriction
(GeoRestrictionType restrictionType) Constructs a new GeoRestriction object.