类 UpdateFunctionCodeRequest
- java.lang.Object
-
- com.baidubce.model.AbstractBceRequest
-
- com.baidubce.services.cfc.model.UpdateFunctionCodeRequest
-
public class UpdateFunctionCodeRequest extends AbstractBceRequest
Request object for updating the CFC function code
-
-
构造器概要
构造器 构造器 说明 UpdateFunctionCodeRequest()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 booleangetDryRun()Get the dryrunStringgetFunctionName()Get the function namebooleangetPublish()Get the publishStringgetZipFile()Get the function code zipvoidsetDryRun(boolean dryRun)Set the dryrunvoidsetFunctionName(String functionName)Set the function namevoidsetPublish(boolean publish)Set the publishvoidsetZipFile(String zipFile)Set the function code zipStringtoString()(non-Javadoc)UpdateFunctionCodeRequestwithDryRun(boolean dryRun)UpdateFunctionCodeRequestwithFunctionName(String functionName)UpdateFunctionCodeRequestwithPublish(boolean publish)UpdateFunctionCodeRequestwithRequestCredentials(BceCredentials credentials)UpdateFunctionCodeRequestwithZipFile(String zipFile)-
从类继承的方法 com.baidubce.model.AbstractBceRequest
getRequestCredentials, setRequestCredentials
-
-
-
-
方法详细资料
-
getFunctionName
public String getFunctionName()
Get the function name- 返回:
- The function name
-
setFunctionName
public void setFunctionName(String functionName)
Set the function name- 参数:
functionName- The function name
-
getZipFile
public String getZipFile()
Get the function code zip- 返回:
- The function code zip
-
setZipFile
public void setZipFile(String zipFile)
Set the function code zip- 参数:
zipFile- The function code zip
-
getPublish
public boolean getPublish()
Get the publish- 返回:
- The publish
-
setPublish
public void setPublish(boolean publish)
Set the publish- 参数:
publish- The publish
-
getDryRun
public boolean getDryRun()
Get the dryrun- 返回:
- The dryrun
-
setDryRun
public void setDryRun(boolean dryRun)
Set the dryrun- 参数:
dryRun- The dryrun
-
withFunctionName
public UpdateFunctionCodeRequest withFunctionName(String functionName)
-
withZipFile
public UpdateFunctionCodeRequest withZipFile(String zipFile)
-
withPublish
public UpdateFunctionCodeRequest withPublish(boolean publish)
-
withDryRun
public UpdateFunctionCodeRequest withDryRun(boolean dryRun)
-
withRequestCredentials
public UpdateFunctionCodeRequest withRequestCredentials(BceCredentials credentials)
- 指定者:
withRequestCredentials在类中AbstractBceRequest
-
toString
public String toString()
(non-Javadoc)- 覆盖:
toString在类中Object- 另请参阅:
Object.toString()
-
-