public AnalysisComponent getTransitGateway() {
        return this.transitGateway;
    }
<p>
The transit gateway.
</p>

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