public String getType() {
        return this.type;
    }
<p>
The route type.
</p>

@return The route type.
@see TransitGatewayRouteType
aws-java-sdk-ec2/src/main/java/com/amazonaws/services/ec2/model/TransitGatewayRoute.java