public void setTimeout(Integer timeout) {
        this.timeout = timeout;
    }
<p>
The amount of time (in seconds) that Lambda allows a function to run before stopping it. The default is 3
seconds. The maximum allowed value is 900 seconds. For more information, see <a
href="https://docs.aws.amazon.com/lambda/latest/dg/runtimes-context.html">Lambda execution environment</a>.
</p>

@param timeout
       The amount of time (in seconds) that Lambda allows a function to run before stopping it. The default is 3
       seconds. The maximum allowed value is 900 seconds. For more information, see <a
       href="https://docs.aws.amazon.com/lambda/latest/dg/runtimes-context.html">Lambda execution
       environment</a>.
aws-java-sdk-lambda/src/main/java/com/amazonaws/services/lambda/model/CreateFunctionRequest.java