Interface Webhook.Builder
- Enclosing interface:
Webhook
public static interface Webhook.Builder
Dedicated Builder
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Create instancesee gettersetClientCredentials
(ClientCredentials clientCredentials) see gettersee gettersee gettersee gettersetTargetType
(WebhookTargetType targetType) see gettersetTriggers
(List<WebhookTrigger> triggers) see getter
-
Method Details
-
setAppId
see getter- Parameters:
appId
- see getter- Returns:
- Current builder
- See Also:
-
setClientCredentials
see getter- Parameters:
clientCredentials
- see getter- Returns:
- Current builder
- See Also:
-
setId
see getter- Parameters:
id
- see getter- Returns:
- Current builder
- See Also:
- Read Only
- This field is returned by the server and cannot be modified
-
setSecret
see getter- Parameters:
secret
- see getter- Returns:
- Current builder
- See Also:
-
setTarget
see getter- Parameters:
target
- see getter- Returns:
- Current builder
- See Also:
-
setTargetType
see getter- Parameters:
targetType
- see getter- Returns:
- Current builder
- See Also:
-
setTriggers
see getter- Parameters:
triggers
- see getter- Returns:
- Current builder
- See Also:
-
build
Webhook build()Create instance- Returns:
- The instance build with current builder values
-