public void setTransitGatewayId(String transitGatewayId) {
        this.transitGatewayId = transitGatewayId;
    }
<p>
The ID of the transit gateway associated with the VPN connection.
</p>

@param transitGatewayId
       The ID of the transit gateway associated with the VPN connection.
aws-java-sdk-ec2/src/main/java/com/amazonaws/services/ec2/model/VpnConnection.java