public CreateFunctionRequest withCode(FunctionCode code) {
        setCode(code);
        return this;
    }
<p>
The code for the function.
</p>

@param code
       The code for the function.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-lambda/src/main/java/com/amazonaws/services/lambda/model/CreateFunctionRequest.java