Webhook.UpdateStages.WithDefaultStatus Interface

public static interface Webhook.UpdateStages.WithDefaultStatus

The stage of the webhook definition allowing to specify the default status of the webhook after being created.

Method Summary

Modifier and Type Method and Description
abstract Update enabled(boolean defaultStatus)

Specifies the default status of the webhook; default is "enabled".

Method Details

enabled

public abstract Webhook.Update 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 resource update

Applies to