public CustomerGateway withBgpAsn(String bgpAsn) {
        setBgpAsn(bgpAsn);
        return this;
    }
<p>
The customer gateway device's Border Gateway Protocol (BGP) Autonomous System Number (ASN).
</p>
<p>
Valid values: <code>1</code> to <code>2,147,483,647</code>
</p>

@param bgpAsn
       The customer gateway device's Border Gateway Protocol (BGP) Autonomous System Number (ASN).</p>
       <p>
       Valid values: <code>1</code> to <code>2,147,483,647</code>
@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/CustomerGateway.java