public void setLocation(ResourceLocation location) {
        this.location = location;
    }
<p>
An object that describes the location of the distribution, such as the Amazon Web Services Region and
Availability Zone.
</p>
<note>
<p>
Lightsail distributions are global resources that can reference an origin in any Amazon Web Services Region, and
distribute its content globally. However, all distributions are located in the <code>us-east-1</code> Region.
</p>
</note>

@param location
       An object that describes the location of the distribution, such as the Amazon Web Services Region and
       Availability Zone.</p> <note>
       <p>
       Lightsail distributions are global resources that can reference an origin in any Amazon Web Services
       Region, and distribute its content globally. However, all distributions are located in the
       <code>us-east-1</code> Region.
       </p>
aws-java-sdk-lightsail/src/main/java/com/amazonaws/services/lightsail/model/LightsailDistribution.java