public HttpRoute withTimeout(HttpTimeout timeout) {
        setTimeout(timeout);
        return this;
    }
<p>
An object that represents types of timeouts.
</p>

@param timeout
       An object that represents types of timeouts.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-appmesh/src/main/java/com/amazonaws/services/appmesh/model/HttpRoute.java