Class WebhookState.Builder

  • Enclosing class:
    WebhookState

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

      • Builder

        public Builder()
    • Method Detail

      • arn

        public WebhookState.Builder arn​(@Nullable
                                        com.pulumi.core.Output<java.lang.String> arn)
        Parameters:
        arn - The CodePipeline webhook's ARN.
        Returns:
        builder
      • arn

        public WebhookState.Builder arn​(java.lang.String arn)
        Parameters:
        arn - The CodePipeline webhook's ARN.
        Returns:
        builder
      • authentication

        public WebhookState.Builder authentication​(@Nullable
                                                   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 WebhookState.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 WebhookState.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 WebhookState.Builder authenticationConfiguration​(WebhookAuthenticationConfigurationArgs authenticationConfiguration)
        Parameters:
        authenticationConfiguration - An `auth` block. Required for `IP` and `GITHUB_HMAC`. Auth blocks are documented below.
        Returns:
        builder
      • filters

        public WebhookState.Builder filters​(@Nullable
                                            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 WebhookState.Builder filters​(java.util.List<WebhookFilterArgs> filters)
        Parameters:
        filters - One or more `filter` blocks. Filter blocks are documented below.
        Returns:
        builder
      • filters

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

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

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

        public WebhookState.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 WebhookState.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
      • tagsAll

        public WebhookState.Builder tagsAll​(@Nullable
                                            com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> tagsAll)
        Parameters:
        tagsAll - A map of tags assigned to the resource, including those inherited from the provider .
        Returns:
        builder
      • tagsAll

        public WebhookState.Builder tagsAll​(java.util.Map<java.lang.String,​java.lang.String> tagsAll)
        Parameters:
        tagsAll - A map of tags assigned to the resource, including those inherited from the provider .
        Returns:
        builder
      • targetAction

        public WebhookState.Builder targetAction​(@Nullable
                                                 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 WebhookState.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 WebhookState.Builder targetPipeline​(@Nullable
                                                   com.pulumi.core.Output<java.lang.String> targetPipeline)
        Parameters:
        targetPipeline - The name of the pipeline.
        Returns:
        builder
      • targetPipeline

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

        public WebhookState.Builder url​(@Nullable
                                        com.pulumi.core.Output<java.lang.String> url)
        Parameters:
        url - The CodePipeline webhook's URL. POST events to this endpoint to trigger the target.
        Returns:
        builder
      • url

        public WebhookState.Builder url​(java.lang.String url)
        Parameters:
        url - The CodePipeline webhook's URL. POST events to this endpoint to trigger the target.
        Returns:
        builder