com.baidubce.services.cfc.model
Class InvokeRequest

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

public class InvokeRequest
extends AbstractBceRequest

request object foe invoking a Baidu CFC function


Constructor Summary
InvokeRequest()
           
 
Method Summary
 String getFunctionName()
          Get the function name
 String getInvocationType()
          Get the invocation type
 String getLogType()
          Get the log type
 Map<String,String> getPayload()
          Get the payload
 String getQualifier()
          Get the qualifier
 void setFunctionName(String functionName)
          Set the function name
 void setInvocationType(String invocationType)
          Set the invocation type
 void setLogType(String logType)
          Set the log type
 void setPayload(Map<String,String> payload)
          Set the payload
 void setQualifier(String qualifier)
          Set the qualifier
 String toString()
          (non-Javadoc)
 InvokeRequest withFunctionName(String functionName)
           
 InvokeRequest withInvocationType(String invocationType)
           
 InvokeRequest withLogType(String logType)
           
 InvokeRequest withPayload(Map<String,String> payload)
           
 InvokeRequest withQualifier(String qualifier)
           
 InvokeRequest withRequestCredentials(BceCredentials credentials)
           
 
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

InvokeRequest

public InvokeRequest()
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

getInvocationType

public String getInvocationType()
Get the invocation type

Returns:
The invocation type

setInvocationType

public void setInvocationType(String invocationType)
Set the invocation type

Parameters:
invocationType - The invocation type

getLogType

public String getLogType()
Get the log type

Returns:
The log type

setLogType

public void setLogType(String logType)
Set the log type

Parameters:
logType - The log type

getQualifier

public String getQualifier()
Get the qualifier

Returns:
The qualifier

setQualifier

public void setQualifier(String qualifier)
Set the qualifier

Parameters:
qualifier - The qualifier

getPayload

public Map<String,String> getPayload()
Get the payload

Returns:
The payload

setPayload

public void setPayload(Map<String,String> payload)
Set the payload

Parameters:
payload - The payload

withFunctionName

public InvokeRequest withFunctionName(String functionName)

withInvocationType

public InvokeRequest withInvocationType(String invocationType)

withLogType

public InvokeRequest withLogType(String logType)

withQualifier

public InvokeRequest withQualifier(String qualifier)

withPayload

public InvokeRequest withPayload(Map<String,String> payload)

withRequestCredentials

public InvokeRequest 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.