public VpnConnection withVpnGatewayId(String vpnGatewayId) {
        setVpnGatewayId(vpnGatewayId);
        return this;
    }
<p>
The ID of the virtual private gateway at the Amazon Web Services side of the VPN connection.
</p>

@param vpnGatewayId
       The ID of the virtual private gateway at the Amazon Web Services side of the VPN connection.
@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/VpnConnection.java