public TransitGatewayRoute withTransitGatewayRouteTableAnnouncementId(String transitGatewayRouteTableAnnouncementId) {
        setTransitGatewayRouteTableAnnouncementId(transitGatewayRouteTableAnnouncementId);
        return this;
    }
<p>
The ID of the transit gateway route table announcement.
</p>

@param transitGatewayRouteTableAnnouncementId
       The ID of the transit gateway route table announcement.
@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/TransitGatewayRoute.java