public void setTransitGateway(AnalysisComponent transitGateway) {
        this.transitGateway = transitGateway;
    }
<p>
The transit gateway.
</p>

@param transitGateway
       The transit gateway.
aws-java-sdk-ec2/src/main/java/com/amazonaws/services/ec2/model/PathComponent.java