Class AutomationFetchDataWebhook.Builder
- java.lang.Object
-
- com.courier.api.resources.automations.types.AutomationFetchDataWebhook.Builder
-
- All Implemented Interfaces:
AutomationFetchDataWebhook._FinalStage,AutomationFetchDataWebhook.MethodStage,AutomationFetchDataWebhook.UrlStage
- Enclosing class:
- AutomationFetchDataWebhook
public static final class AutomationFetchDataWebhook.Builder extends java.lang.Object implements AutomationFetchDataWebhook.MethodStage, AutomationFetchDataWebhook.UrlStage, AutomationFetchDataWebhook._FinalStage
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AutomationFetchDataWebhook._FinalStagebody(java.util.Map<java.lang.String,java.lang.Object> body)AutomationFetchDataWebhook._FinalStagebody(java.util.Optional<java.util.Map<java.lang.String,java.lang.Object>> body)AutomationFetchDataWebhookbuild()AutomationFetchDataWebhook.Builderfrom(AutomationFetchDataWebhook other)AutomationFetchDataWebhook._FinalStageheaders(java.util.Map<java.lang.String,java.lang.Object> headers)AutomationFetchDataWebhook._FinalStageheaders(java.util.Optional<java.util.Map<java.lang.String,java.lang.Object>> headers)AutomationFetchDataWebhook.UrlStagemethod(AutomationFetchDataWebhookMethod method)AutomationFetchDataWebhook._FinalStageparams(java.util.Map<java.lang.String,java.lang.Object> params)AutomationFetchDataWebhook._FinalStageparams(java.util.Optional<java.util.Map<java.lang.String,java.lang.Object>> params)AutomationFetchDataWebhook._FinalStageurl(java.lang.String url)
-
-
-
Method Detail
-
from
public AutomationFetchDataWebhook.Builder from(AutomationFetchDataWebhook other)
- Specified by:
fromin interfaceAutomationFetchDataWebhook.MethodStage
-
method
public AutomationFetchDataWebhook.UrlStage method(AutomationFetchDataWebhookMethod method)
- Specified by:
methodin interfaceAutomationFetchDataWebhook.MethodStage
-
url
public AutomationFetchDataWebhook._FinalStage url(java.lang.String url)
- Specified by:
urlin interfaceAutomationFetchDataWebhook.UrlStage
-
params
public AutomationFetchDataWebhook._FinalStage params(java.util.Map<java.lang.String,java.lang.Object> params)
- Specified by:
paramsin interfaceAutomationFetchDataWebhook._FinalStage
-
params
public AutomationFetchDataWebhook._FinalStage params(java.util.Optional<java.util.Map<java.lang.String,java.lang.Object>> params)
- Specified by:
paramsin interfaceAutomationFetchDataWebhook._FinalStage
-
headers
public AutomationFetchDataWebhook._FinalStage headers(java.util.Map<java.lang.String,java.lang.Object> headers)
- Specified by:
headersin interfaceAutomationFetchDataWebhook._FinalStage
-
headers
public AutomationFetchDataWebhook._FinalStage headers(java.util.Optional<java.util.Map<java.lang.String,java.lang.Object>> headers)
- Specified by:
headersin interfaceAutomationFetchDataWebhook._FinalStage
-
body
public AutomationFetchDataWebhook._FinalStage body(java.util.Map<java.lang.String,java.lang.Object> body)
- Specified by:
bodyin interfaceAutomationFetchDataWebhook._FinalStage
-
body
public AutomationFetchDataWebhook._FinalStage body(java.util.Optional<java.util.Map<java.lang.String,java.lang.Object>> body)
- Specified by:
bodyin interfaceAutomationFetchDataWebhook._FinalStage
-
build
public AutomationFetchDataWebhook build()
- Specified by:
buildin interfaceAutomationFetchDataWebhook._FinalStage
-
-