public ClientVpnRoute withTargetSubnet(String targetSubnet) {
        setTargetSubnet(targetSubnet);
        return this;
    }
<p>
The ID of the subnet through which traffic is routed.
</p>

@param targetSubnet
       The ID of the subnet through which traffic is routed.
@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/ClientVpnRoute.java