Package com.pulumi.aws.codepipeline
Class WebhookArgs.Builder
- java.lang.Object
-
- com.pulumi.aws.codepipeline.WebhookArgs.Builder
-
- Enclosing class:
- WebhookArgs
public static final class WebhookArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
Builder(WebhookArgs defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description WebhookArgs.Builder
authentication(com.pulumi.core.Output<java.lang.String> authentication)
WebhookArgs.Builder
authentication(java.lang.String authentication)
WebhookArgs.Builder
authenticationConfiguration(WebhookAuthenticationConfigurationArgs authenticationConfiguration)
WebhookArgs.Builder
authenticationConfiguration(com.pulumi.core.Output<WebhookAuthenticationConfigurationArgs> authenticationConfiguration)
WebhookArgs
build()
WebhookArgs.Builder
filters(WebhookFilterArgs... filters)
WebhookArgs.Builder
filters(com.pulumi.core.Output<java.util.List<WebhookFilterArgs>> filters)
WebhookArgs.Builder
filters(java.util.List<WebhookFilterArgs> filters)
WebhookArgs.Builder
name(com.pulumi.core.Output<java.lang.String> name)
WebhookArgs.Builder
name(java.lang.String name)
WebhookArgs.Builder
tags(com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> tags)
WebhookArgs.Builder
tags(java.util.Map<java.lang.String,java.lang.String> tags)
WebhookArgs.Builder
targetAction(com.pulumi.core.Output<java.lang.String> targetAction)
WebhookArgs.Builder
targetAction(java.lang.String targetAction)
WebhookArgs.Builder
targetPipeline(com.pulumi.core.Output<java.lang.String> targetPipeline)
WebhookArgs.Builder
targetPipeline(java.lang.String targetPipeline)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(WebhookArgs defaults)
-
-
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
-
build
public WebhookArgs build()
-
-