public GeoLocation withContinentCode(String continentCode) {
        setContinentCode(continentCode);
        return this;
    }
<p>
The two-letter code for the continent.
</p>
<p>
Amazon Route 53 supports the following continent codes:
</p>
<ul>
<li>
<p>
<b>AF</b>: Africa
</p>
</li>
<li>
<p>
<b>AN</b>: Antarctica
</p>
</li>
<li>
<p>
<b>AS</b>: Asia
</p>
</li>
<li>
<p>
<b>EU</b>: Europe
</p>
</li>
<li>
<p>
<b>OC</b>: Oceania
</p>
</li>
<li>
<p>
<b>NA</b>: North America
</p>
</li>
<li>
<p>
<b>SA</b>: South America
</p>
</li>
</ul>
<p>
Constraint: Specifying <code>ContinentCode</code> with either <code>CountryCode</code> or
<code>SubdivisionCode</code> returns an <code>InvalidInput</code> error.
</p>

@param continentCode
       The two-letter code for the continent.</p>
       <p>
       Amazon Route 53 supports the following continent codes:
       </p>
       <ul>
       <li>
       <p>
       <b>AF</b>: Africa
       </p>
       </li>
       <li>
       <p>
       <b>AN</b>: Antarctica
       </p>
       </li>
       <li>
       <p>
       <b>AS</b>: Asia
       </p>
       </li>
       <li>
       <p>
       <b>EU</b>: Europe
       </p>
       </li>
       <li>
       <p>
       <b>OC</b>: Oceania
       </p>
       </li>
       <li>
       <p>
       <b>NA</b>: North America
       </p>
       </li>
       <li>
       <p>
       <b>SA</b>: South America
       </p>
       </li>
       </ul>
       <p>
       Constraint: Specifying <code>ContinentCode</code> with either <code>CountryCode</code> or
       <code>SubdivisionCode</code> returns an <code>InvalidInput</code> error.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-route53/src/main/java/com/amazonaws/services/route53/model/GeoLocation.java