类 UpdateFunctionConfigurationRequest


  • public class UpdateFunctionConfigurationRequest
    extends GenericFunctionRequest
    Request object for updating the CFC function configuration
    • 构造器详细资料

      • UpdateFunctionConfigurationRequest

        public UpdateFunctionConfigurationRequest​(String functionName,
                                                  String description)
    • 方法详细资料

      • getCode

        public Code getCode()
        Get the function code
        返回:
        The function code
      • setCode

        public void setCode​(Code code)
        Set the function code
        参数:
        code - The function code
      • getEnvironment

        public Environment getEnvironment()
        Get the environment
        返回:
        The environment
      • setEnvironment

        public void setEnvironment​(Environment environment)
        Set the environment
        参数:
        environment - The environment
      • getHandler

        public String getHandler()
        Get the entry function of the CFC call, for the module is module-name.export eg. index.handler maximum length limit is 128
        返回:
      • setHandler

        public void setHandler​(String handler)
        Set the entry function of the CFC call, for the module is module-name.export eg. index.handler maximum length limit is 128
        参数:
        handler - The entry function of the CFC call, for the module is module-name.export eg. index.handler maximum length limit is 128
      • getMemorySize

        public Integer getMemorySize()
        Get the size of the memory, in megabytes, that CFC uses to estimate the amount of CPU and memory allocated to the user function. The default value is 128MB, which must be a multiple of 128MB (now CFC provides 128 to 1024M of memory)
        返回:
      • setMemorySize

        public void setMemorySize​(Integer memorySize)
        Set the size of the memory, in megabytes, that CFC uses to estimate the amount of CPU and memory allocated to the user function. The default value is 128MB, which must be a multiple of 128MB (now CFC provides 128 to 1024M of memory)
        参数:
        memorySize - The size of the memory, in megabytes, that CFC uses to estimate the amount of CPU and memory allocated to the user function. The default value is 128MB, which must be a multiple of 128MB (now CFC provides 128 to 1024M of memory)
      • getRuntime

        public String getRuntime()
        Get the runtime
        返回:
        The runtime
      • setRuntime

        public void setRuntime​(String runtime)
        Set the runtime
        参数:
        runtime - The runtime
      • getTimeout

        public Integer getTimeout()
        Get the timeout
        返回:
        The timeout
      • setTimeout

        public void setTimeout​(Integer timeout)
        Set the timeout
        参数:
        timeout - The timeout