com.baidubce.services.cfc.model
Class UpdateFunctionCodeRequest

java.lang.Object
  extended by com.baidubce.model.AbstractBceRequest
      extended by com.baidubce.services.cfc.model.UpdateFunctionCodeRequest

public class UpdateFunctionCodeRequest
extends AbstractBceRequest

Request object for updating the CFC function code


Constructor Summary
UpdateFunctionCodeRequest()
           
 
Method Summary
 boolean getDryRun()
          Get the dryrun
 String getFunctionName()
          Get the function name
 boolean getPublish()
          Get the publish
 String getZipFile()
          Get the function code zip
 void setDryRun(boolean dryRun)
          Set the dryrun
 void setFunctionName(String functionName)
          Set the function name
 void setPublish(boolean publish)
          Set the publish
 void setZipFile(String zipFile)
          Set the function code zip
 String toString()
          (non-Javadoc)
 UpdateFunctionCodeRequest withDryRun(boolean dryRun)
           
 UpdateFunctionCodeRequest withFunctionName(String functionName)
           
 UpdateFunctionCodeRequest withPublish(boolean publish)
           
 UpdateFunctionCodeRequest withRequestCredentials(BceCredentials credentials)
           
 UpdateFunctionCodeRequest withZipFile(String zipFile)
           
 
Methods inherited from class com.baidubce.model.AbstractBceRequest
getRequestCredentials, setRequestCredentials
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UpdateFunctionCodeRequest

public UpdateFunctionCodeRequest()
Method Detail

getFunctionName

public String getFunctionName()
Get the function name

Returns:
The function name

setFunctionName

public void setFunctionName(String functionName)
Set the function name

Parameters:
functionName - The function name

getZipFile

public String getZipFile()
Get the function code zip

Returns:
The function code zip

setZipFile

public void setZipFile(String zipFile)
Set the function code zip

Parameters:
zipFile - The function code zip

getPublish

public boolean getPublish()
Get the publish

Returns:
The publish

setPublish

public void setPublish(boolean publish)
Set the publish

Parameters:
publish - The publish

getDryRun

public boolean getDryRun()
Get the dryrun

Returns:
The dryrun

setDryRun

public void setDryRun(boolean dryRun)
Set the dryrun

Parameters:
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)
Specified by:
withRequestCredentials in class AbstractBceRequest

toString

public String toString()
(non-Javadoc)

Overrides:
toString in class Object
See Also:
Object.toString()


Copyright © 2020. All rights reserved.