@Override
    public ModifySubnetAttributeResult modifySubnetAttribute(ModifySubnetAttributeRequest request) {
        request = beforeClientExecution(request);
        return executeModifySubnetAttribute(request);
    }
<p>
Modifies a subnet attribute. You can only modify one attribute at a time.
</p>
<p>
Use this action to modify subnets on Amazon Web Services Outposts.
</p>
<ul>
<li>
<p>
To modify a subnet on an Outpost rack, set both <code>MapCustomerOwnedIpOnLaunch</code> and
<code>CustomerOwnedIpv4Pool</code>. These two parameters act as a single attribute.
</p>
</li>
<li>
<p>
To modify a subnet on an Outpost server, set either <code>EnableLniAtDeviceIndex</code> or
<code>DisableLniAtDeviceIndex</code>.
</p>
</li>
</ul>
<p>
For more information about Amazon Web Services Outposts, see the following:
</p>
<ul>
<li>
<p>
<a href="https://docs.aws.amazon.com/outposts/latest/userguide/how-servers-work.html">Outpost servers</a>
</p>
</li>
<li>
<p>
<a href="https://docs.aws.amazon.com/outposts/latest/userguide/how-racks-work.html">Outpost racks</a>
</p>
</li>
</ul>

@param modifySubnetAttributeRequest
@return Result of the ModifySubnetAttribute operation returned by the service.
@sample AmazonEC2.ModifySubnetAttribute
@see <a href="http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifySubnetAttribute" target="_top">AWS API
     Documentation</a>
aws-java-sdk-ec2/src/main/java/com/amazonaws/services/ec2/AmazonEC2Client.java