public CreateCustomerGatewayRequest withBgpAsnExtended(Long bgpAsnExtended) {
        setBgpAsnExtended(bgpAsnExtended);
        return this;
    }
<p>
For customer gateway devices that support BGP, specify the device's ASN. You must specify either
<code>BgpAsn</code> or <code>BgpAsnExtended</code> when creating the customer gateway. If the ASN is larger than
<code>2,147,483,647</code>, you must use <code>BgpAsnExtended</code>.
</p>
<p>
Valid values: <code>2,147,483,648</code> to <code>4,294,967,295</code>
</p>

@param bgpAsnExtended
       For customer gateway devices that support BGP, specify the device's ASN. You must specify either
       <code>BgpAsn</code> or <code>BgpAsnExtended</code> when creating the customer gateway. If the ASN is
       larger than <code>2,147,483,647</code>, you must use <code>BgpAsnExtended</code>.</p>
       <p>
       Valid values: <code>2,147,483,648</code> to <code>4,294,967,295</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/CreateCustomerGatewayRequest.java