@Override
    public CreateRouteResult createRoute(CreateRouteRequest request) {
        request = beforeClientExecution(request);
        return executeCreateRoute(request);
    }
<p>
Creates a route in a route table within a VPC.
</p>
<p>
You must specify either a destination CIDR block or a prefix list ID. You must also specify exactly one of the
resources from the parameter list.
</p>
<p>
When determining how to route traffic, we use the route with the most specific match. For example, traffic is
destined for the IPv4 address <code>192.0.2.3</code>, and the route table includes the following two IPv4 routes:
</p>
<ul>
<li>
<p>
<code>192.0.2.0/24</code> (goes to some target A)
</p>
</li>
<li>
<p>
<code>192.0.2.0/28</code> (goes to some target B)
</p>
</li>
</ul>
<p>
Both routes apply to the traffic destined for <code>192.0.2.3</code>. However, the second route in the list
covers a smaller number of IP addresses and is therefore more specific, so we use that route to determine where
to target the traffic.
</p>
<p>
For more information about route tables, see <a
href="https://docs.aws.amazon.com/vpc/latest/userguide/VPC_Route_Tables.html">Route tables</a> in the <i>Amazon
VPC User Guide</i>.
</p>

@param createRouteRequest
@return Result of the CreateRoute operation returned by the service.
@sample AmazonEC2.CreateRoute
@see <a href="http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateRoute" target="_top">AWS API
     Documentation</a>
aws-java-sdk-ec2/src/main/java/com/amazonaws/services/ec2/AmazonEC2Client.java