Class WebhookArgs.Builder

  • Enclosing class:
    WebhookArgs

    public static final class WebhookArgs.Builder
    extends java.lang.Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • authentication

        public WebhookArgs.Builder authentication​(com.pulumi.core.Output<java.lang.String> authentication)
        Parameters:
        authentication - The type of authentication to use. One of `IP`, `GITHUB_HMAC`, or `UNAUTHENTICATED`.
        Returns:
        builder
      • authentication

        public WebhookArgs.Builder authentication​(java.lang.String authentication)
        Parameters:
        authentication - The type of authentication to use. One of `IP`, `GITHUB_HMAC`, or `UNAUTHENTICATED`.
        Returns:
        builder
      • authenticationConfiguration

        public WebhookArgs.Builder authenticationConfiguration​(@Nullable
                                                               com.pulumi.core.Output<WebhookAuthenticationConfigurationArgs> authenticationConfiguration)
        Parameters:
        authenticationConfiguration - An `auth` block. Required for `IP` and `GITHUB_HMAC`. Auth blocks are documented below.
        Returns:
        builder
      • authenticationConfiguration

        public WebhookArgs.Builder authenticationConfiguration​(WebhookAuthenticationConfigurationArgs authenticationConfiguration)
        Parameters:
        authenticationConfiguration - An `auth` block. Required for `IP` and `GITHUB_HMAC`. Auth blocks are documented below.
        Returns:
        builder
      • filters

        public WebhookArgs.Builder filters​(com.pulumi.core.Output<java.util.List<WebhookFilterArgs>> filters)
        Parameters:
        filters - One or more `filter` blocks. Filter blocks are documented below.
        Returns:
        builder
      • filters

        public WebhookArgs.Builder filters​(java.util.List<WebhookFilterArgs> filters)
        Parameters:
        filters - One or more `filter` blocks. Filter blocks are documented below.
        Returns:
        builder
      • filters

        public WebhookArgs.Builder filters​(WebhookFilterArgs... filters)
        Parameters:
        filters - One or more `filter` blocks. Filter blocks are documented below.
        Returns:
        builder
      • name

        public WebhookArgs.Builder name​(@Nullable
                                        com.pulumi.core.Output<java.lang.String> name)
        Parameters:
        name - The name of the webhook.
        Returns:
        builder
      • name

        public WebhookArgs.Builder name​(java.lang.String name)
        Parameters:
        name - The name of the webhook.
        Returns:
        builder
      • tags

        public WebhookArgs.Builder tags​(@Nullable
                                        com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> tags)
        Parameters:
        tags - A map of tags to assign to the resource. .If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
        Returns:
        builder
      • tags

        public WebhookArgs.Builder tags​(java.util.Map<java.lang.String,​java.lang.String> tags)
        Parameters:
        tags - A map of tags to assign to the resource. .If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
        Returns:
        builder
      • targetAction

        public WebhookArgs.Builder targetAction​(com.pulumi.core.Output<java.lang.String> targetAction)
        Parameters:
        targetAction - The name of the action in a pipeline you want to connect to the webhook. The action must be from the source (first) stage of the pipeline.
        Returns:
        builder
      • targetAction

        public WebhookArgs.Builder targetAction​(java.lang.String targetAction)
        Parameters:
        targetAction - The name of the action in a pipeline you want to connect to the webhook. The action must be from the source (first) stage of the pipeline.
        Returns:
        builder
      • targetPipeline

        public WebhookArgs.Builder targetPipeline​(com.pulumi.core.Output<java.lang.String> targetPipeline)
        Parameters:
        targetPipeline - The name of the pipeline.
        Returns:
        builder
      • targetPipeline

        public WebhookArgs.Builder targetPipeline​(java.lang.String targetPipeline)
        Parameters:
        targetPipeline - The name of the pipeline.
        Returns:
        builder