public Subnet withSubnetArn(String subnetArn) {
        setSubnetArn(subnetArn);
        return this;
    }
<p>
The Amazon Resource Name (ARN) of the subnet.
</p>

@param subnetArn
       The Amazon Resource Name (ARN) of the subnet.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-ec2/src/main/java/com/amazonaws/services/ec2/model/Subnet.java