com.baidubce.services.cfc.model
Class CreateTriggerRequest

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

public class CreateTriggerRequest
extends AbstractBceRequest

Request object for creating a trigger for Baidu CFC function.


Constructor Summary
CreateTriggerRequest()
           
 
Method Summary
 Map<String,String> getDate()
          Get the parameter configuration of the trigger
 String getSource()
          Get the trigger source
 String getTarget()
          Get the target
 void setData(Map<String,String> data)
          Set the parameter configuration of the trigger
 void setSource(String source)
          Set the trigger source
 void setTarget(String target)
          Set the target
 String toString()
          (non-Javadoc)
 CreateTriggerRequest withData(Map<String,String> data)
           
 CreateTriggerRequest withRequestCredentials(BceCredentials credentials)
           
 CreateTriggerRequest withSource(String source)
           
 CreateTriggerRequest withTarget(String target)
           
 
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

CreateTriggerRequest

public CreateTriggerRequest()
Method Detail

getTarget

public String getTarget()
Get the target

Returns:
The target

setTarget

public void setTarget(String target)
Set the target

Parameters:
target - The target

getSource

public String getSource()
Get the trigger source

Returns:
The trigger source

setSource

public void setSource(String source)
Set the trigger source

Parameters:
source - The trigger source

getDate

public Map<String,String> getDate()
Get the parameter configuration of the trigger

Returns:
The parameter configuration of the trigger

setData

public void setData(Map<String,String> data)
Set the parameter configuration of the trigger

Parameters:
data - The parameter configuration of the trigger

withTarget

public CreateTriggerRequest withTarget(String target)

withSource

public CreateTriggerRequest withSource(String source)

withData

public CreateTriggerRequest withData(Map<String,String> data)

withRequestCredentials

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