Interface GeoRestrictionCustomization.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<GeoRestrictionCustomization.Builder,
,GeoRestrictionCustomization> SdkBuilder<GeoRestrictionCustomization.Builder,
,GeoRestrictionCustomization> SdkPojo
- Enclosing class:
GeoRestrictionCustomization
-
Method Summary
Modifier and TypeMethodDescriptionThe locations for geographic restrictions.locations
(Collection<String> locations) The locations for geographic restrictions.restrictionType
(String restrictionType) The method that you want to use to restrict distribution of your content by country:restrictionType
(GeoRestrictionType restrictionType) The method that you want to use to restrict distribution of your content by country:Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
restrictionType
The method that you want to use to restrict distribution of your content by country:
-
none
: No geographic restriction is enabled, meaning access to content is not restricted by client geo location. -
blacklist
: TheLocation
elements specify the countries in which you don't want CloudFront to distribute your content. -
whitelist
: TheLocation
elements specify the countries in which you want CloudFront to distribute your content.
- Parameters:
restrictionType
- The method that you want to use to restrict distribution of your content by country:-
none
: No geographic restriction is enabled, meaning access to content is not restricted by client geo location. -
blacklist
: TheLocation
elements specify the countries in which you don't want CloudFront to distribute your content. -
whitelist
: TheLocation
elements specify the countries in which you want CloudFront to distribute your content.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
restrictionType
The method that you want to use to restrict distribution of your content by country:
-
none
: No geographic restriction is enabled, meaning access to content is not restricted by client geo location. -
blacklist
: TheLocation
elements specify the countries in which you don't want CloudFront to distribute your content. -
whitelist
: TheLocation
elements specify the countries in which you want CloudFront to distribute your content.
- Parameters:
restrictionType
- The method that you want to use to restrict distribution of your content by country:-
none
: No geographic restriction is enabled, meaning access to content is not restricted by client geo location. -
blacklist
: TheLocation
elements specify the countries in which you don't want CloudFront to distribute your content. -
whitelist
: TheLocation
elements specify the countries in which you want CloudFront to distribute your content.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
locations
The locations for geographic restrictions.
- Parameters:
locations
- The locations for geographic restrictions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
locations
The locations for geographic restrictions.
- Parameters:
locations
- The locations for geographic restrictions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-