Class AutomationInvokeTemplateParams.Builder
- java.lang.Object
-
- com.courier.api.resources.automations.types.AutomationInvokeTemplateParams.Builder
-
- All Implemented Interfaces:
AutomationInvokeTemplateParams._FinalStage,AutomationInvokeTemplateParams.TemplateIdStage
- Enclosing class:
- AutomationInvokeTemplateParams
public static final class AutomationInvokeTemplateParams.Builder extends java.lang.Object implements AutomationInvokeTemplateParams.TemplateIdStage, AutomationInvokeTemplateParams._FinalStage
-
-
Method Summary
-
-
-
Method Detail
-
from
public AutomationInvokeTemplateParams.Builder from(AutomationInvokeTemplateParams other)
- Specified by:
fromin interfaceAutomationInvokeTemplateParams.TemplateIdStage
-
templateId
public AutomationInvokeTemplateParams._FinalStage templateId(java.lang.String templateId)
- Specified by:
templateIdin interfaceAutomationInvokeTemplateParams.TemplateIdStage
-
template
public AutomationInvokeTemplateParams._FinalStage template(java.lang.String template)
- Specified by:
templatein interfaceAutomationInvokeTemplateParams._FinalStage
-
template
public AutomationInvokeTemplateParams._FinalStage template(java.util.Optional<java.lang.String> template)
- Specified by:
templatein interfaceAutomationInvokeTemplateParams._FinalStage
-
recipient
public AutomationInvokeTemplateParams._FinalStage recipient(java.lang.String recipient)
- Specified by:
recipientin interfaceAutomationInvokeTemplateParams._FinalStage
-
recipient
public AutomationInvokeTemplateParams._FinalStage recipient(java.util.Optional<java.lang.String> recipient)
- Specified by:
recipientin interfaceAutomationInvokeTemplateParams._FinalStage
-
profile
public AutomationInvokeTemplateParams._FinalStage profile(java.lang.Object profile)
- Specified by:
profilein interfaceAutomationInvokeTemplateParams._FinalStage
-
profile
public AutomationInvokeTemplateParams._FinalStage profile(java.util.Optional<java.lang.Object> profile)
- Specified by:
profilein interfaceAutomationInvokeTemplateParams._FinalStage
-
data
public AutomationInvokeTemplateParams._FinalStage data(java.util.Map<java.lang.String,java.lang.Object> data)
- Specified by:
datain interfaceAutomationInvokeTemplateParams._FinalStage
-
data
public AutomationInvokeTemplateParams._FinalStage data(java.util.Optional<java.util.Map<java.lang.String,java.lang.Object>> data)
- Specified by:
datain interfaceAutomationInvokeTemplateParams._FinalStage
-
brand
public AutomationInvokeTemplateParams._FinalStage brand(java.lang.String brand)
- Specified by:
brandin interfaceAutomationInvokeTemplateParams._FinalStage
-
brand
public AutomationInvokeTemplateParams._FinalStage brand(java.util.Optional<java.lang.String> brand)
- Specified by:
brandin interfaceAutomationInvokeTemplateParams._FinalStage
-
build
public AutomationInvokeTemplateParams build()
- Specified by:
buildin interfaceAutomationInvokeTemplateParams._FinalStage
-
-