public void setAllowedCountries(java.util.Collection<String> allowedCountries) {
        if (allowedCountries == null) {
            this.allowedCountries = null;
            return;
        }

        this.allowedCountries = new java.util.ArrayList<String>(allowedCountries);
    }
<p>
A list of country codes that control geoblocking restriction. Allowed values are the officially assigned <a
href="https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2">ISO 3166-1 alpha-2</a> codes. Default: All countries (an
empty array).
</p>

@param allowedCountries
       A list of country codes that control geoblocking restriction. Allowed values are the officially assigned
       <a href="https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2">ISO 3166-1 alpha-2</a> codes. Default: All
       countries (an empty array).
aws-java-sdk-ivs/src/main/java/com/amazonaws/services/ivs/model/PlaybackRestrictionPolicy.java