public DescribeInstanceTypeOfferingsRequest withLocationType(LocationType locationType) {
        this.locationType = locationType.toString();
        return this;
    }
<p>
The location type.
</p>
<ul>
<li>
<p>
<code>availability-zone</code> - The Availability Zone. When you specify a location filter, it must be an
Availability Zone for the current Region.
</p>
</li>
<li>
<p>
<code>availability-zone-id</code> - The AZ ID. When you specify a location filter, it must be an AZ ID for the
current Region.
</p>
</li>
<li>
<p>
<code>outpost</code> - The Outpost ARN. When you specify a location filter, it must be an Outpost ARN for the
current Region.
</p>
</li>
<li>
<p>
<code>region</code> - The current Region. If you specify a location filter, it must match the current Region.
</p>
</li>
</ul>

@param locationType
       The location type.</p>
       <ul>
       <li>
       <p>
       <code>availability-zone</code> - The Availability Zone. When you specify a location filter, it must be an
       Availability Zone for the current Region.
       </p>
       </li>
       <li>
       <p>
       <code>availability-zone-id</code> - The AZ ID. When you specify a location filter, it must be an AZ ID for
       the current Region.
       </p>
       </li>
       <li>
       <p>
       <code>outpost</code> - The Outpost ARN. When you specify a location filter, it must be an Outpost ARN for
       the current Region.
       </p>
       </li>
       <li>
       <p>
       <code>region</code> - The current Region. If you specify a location filter, it must match the current
       Region.
       </p>
       </li>
@return Returns a reference to this object so that method calls can be chained together.
@see LocationType
aws-java-sdk-ec2/src/main/java/com/amazonaws/services/ec2/model/DescribeInstanceTypeOfferingsRequest.java