public static interface Restrictions.Builder extends SdkPojo, CopyableBuilder<Restrictions.Builder,Restrictions>
| Modifier and Type | Method and Description |
|---|---|
default Restrictions.Builder |
geoRestriction(Consumer<GeoRestriction.Builder> geoRestriction)
A complex type that controls the countries in which your content is distributed.
|
Restrictions.Builder |
geoRestriction(GeoRestriction geoRestriction)
A complex type that controls the countries in which your content is distributed.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildRestrictions.Builder geoRestriction(GeoRestriction geoRestriction)
A complex type that controls the countries in which your content is distributed. CloudFront determines the
location of your users using MaxMind GeoIP databases.
geoRestriction - A complex type that controls the countries in which your content is distributed. CloudFront determines
the location of your users using MaxMind GeoIP databases.default Restrictions.Builder geoRestriction(Consumer<GeoRestriction.Builder> geoRestriction)
A complex type that controls the countries in which your content is distributed. CloudFront determines the
location of your users using MaxMind GeoIP databases.
GeoRestriction.Builder avoiding the need to
create one manually via GeoRestriction.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to geoRestriction(GeoRestriction).geoRestriction - a consumer that will call methods on GeoRestriction.BuildergeoRestriction(GeoRestriction)Copyright © 2021. All rights reserved.