public TransitGatewayOptions withAmazonSideAsn(Long amazonSideAsn) {
        setAmazonSideAsn(amazonSideAsn);
        return this;
    }
<p>
A private Autonomous System Number (ASN) for the Amazon side of a BGP session. The range is 64512 to 65534 for
16-bit ASNs and 4200000000 to 4294967294 for 32-bit ASNs.
</p>

@param amazonSideAsn
       A private Autonomous System Number (ASN) for the Amazon side of a BGP session. The range is 64512 to 65534
       for 16-bit ASNs and 4200000000 to 4294967294 for 32-bit ASNs.
@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/TransitGatewayOptions.java