public GeoRestriction withItems(java.util.Collection<String> items) {
        setItems(items);
        return this;
    }
<p>
A complex type that contains a <code>Location</code> element for each country in which you want CloudFront either
to distribute your content (<code>whitelist</code>) or not distribute your content (<code>blacklist</code>).
</p>
<p>
The <code>Location</code> element is a two-letter, uppercase country code for a country that you want to include
in your <code>blacklist</code> or <code>whitelist</code>. Include one <code>Location</code> element for each
country.
</p>
<p>
CloudFront and <code>MaxMind</code> both use <code>ISO 3166</code> country codes. For the current list of
countries and the corresponding codes, see <code>ISO 3166-1-alpha-2</code> code on the <i>International
Organization for Standardization</i> website. You can also refer to the country list on the CloudFront console,
which includes both country names and codes.
</p>

@param items
       A complex type that contains a <code>Location</code> element for each country in which you want CloudFront
       either to distribute your content (<code>whitelist</code>) or not distribute your content (
       <code>blacklist</code>).</p>
       <p>
       The <code>Location</code> element is a two-letter, uppercase country code for a country that you want to
       include in your <code>blacklist</code> or <code>whitelist</code>. Include one <code>Location</code>
       element for each country.
       </p>
       <p>
       CloudFront and <code>MaxMind</code> both use <code>ISO 3166</code> country codes. For the current list of
       countries and the corresponding codes, see <code>ISO 3166-1-alpha-2</code> code on the <i>International
       Organization for Standardization</i> website. You can also refer to the country list on the CloudFront
       console, which includes both country names and codes.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-cloudfront/src/main/java/com/amazonaws/services/cloudfront/model/GeoRestriction.java