Interface Webhook.DefinitionStages.WithDefaultStatus<ParentT>
-
- Type Parameters:
ParentT- the stage of the parent definition to return to after attaching this definition
- All Known Subinterfaces:
Webhook.DefinitionStages.WithAttach<ParentT>,Webhook.WebhookDefinition<ParentT>
- Enclosing interface:
- Webhook.DefinitionStages
public static interface Webhook.DefinitionStages.WithDefaultStatus<ParentT>The stage of the webhook definition allowing to specify the default status of the webhook after being created.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Webhook.DefinitionStages.WithAttach<ParentT>enabled(boolean defaultStatus)Specifies the default status of the webhook; default is "enabled".
-
-
-
Method Detail
-
enabled
Webhook.DefinitionStages.WithAttach<ParentT> enabled(boolean defaultStatus)
Specifies the default status of the webhook; default is "enabled".- Parameters:
defaultStatus- indicates whether the webhook is enabled or disabled after being created- Returns:
- the next stage of the definition
-
-