类 PublishVersionRequest


  • public class PublishVersionRequest
    extends AbstractBceRequest
    Request object for publishing the CFC function
    • 构造器详细资料

      • PublishVersionRequest

        public PublishVersionRequest()
    • 方法详细资料

      • getFunctionName

        public String getFunctionName()
        Get the function name
        返回:
        The function name
      • setFunctionName

        public void setFunctionName​(String functionName)
        Set function Name You can specify a function name (for example, Thumbnail), or you can specify the function's BRN resource name (for example: brn:bce:cfc:bj:account-id:function:thumbnail). CFC also allows you to specify a partial BRN (for example, account-id:Thumbnail). Note that the BRN length is limited to 1-140. If only the function name is specified, the length is limited to 64 characters.
        参数:
        functionName -
      • getDescription

        public String getDescription()
        Get the version description
        返回:
        The version description
      • setDescription

        public void setDescription​(String description)
        Set the version description
        参数:
        description - The version description
      • getCodeSha256

        public String getCodeSha256()
        Get the function code sha256
        返回:
        The function code sha256
      • setCodeSha256

        public void setCodeSha256​(String codeSha256)
        Set the function code sha256
        参数:
        codeSha256 - The function code sha256