Class WebhooksCreateRequest.Builder
- java.lang.Object
-
- com.seam.api.resources.webhooks.requests.WebhooksCreateRequest.Builder
-
- All Implemented Interfaces:
WebhooksCreateRequest._FinalStage,WebhooksCreateRequest.UrlStage
- Enclosing class:
- WebhooksCreateRequest
public static final class WebhooksCreateRequest.Builder extends java.lang.Object implements WebhooksCreateRequest.UrlStage, WebhooksCreateRequest._FinalStage
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description WebhooksCreateRequestbuild()WebhooksCreateRequest._FinalStageeventTypes(java.util.List<java.lang.String> eventTypes)WebhooksCreateRequest._FinalStageeventTypes(java.util.Optional<java.util.List<java.lang.String>> eventTypes)WebhooksCreateRequest.Builderfrom(WebhooksCreateRequest other)WebhooksCreateRequest._FinalStageurl(java.lang.String url)
-
-
-
Method Detail
-
from
public WebhooksCreateRequest.Builder from(WebhooksCreateRequest other)
- Specified by:
fromin interfaceWebhooksCreateRequest.UrlStage
-
url
public WebhooksCreateRequest._FinalStage url(java.lang.String url)
- Specified by:
urlin interfaceWebhooksCreateRequest.UrlStage
-
eventTypes
public WebhooksCreateRequest._FinalStage eventTypes(java.util.List<java.lang.String> eventTypes)
- Specified by:
eventTypesin interfaceWebhooksCreateRequest._FinalStage
-
eventTypes
public WebhooksCreateRequest._FinalStage eventTypes(java.util.Optional<java.util.List<java.lang.String>> eventTypes)
- Specified by:
eventTypesin interfaceWebhooksCreateRequest._FinalStage
-
build
public WebhooksCreateRequest build()
- Specified by:
buildin interfaceWebhooksCreateRequest._FinalStage
-
-