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.Builderauthentication(com.pulumi.core.Output<java.lang.String> authentication)WebhookArgs.Builderauthentication(java.lang.String authentication)WebhookArgs.BuilderauthenticationConfiguration(WebhookAuthenticationConfigurationArgs authenticationConfiguration)WebhookArgs.BuilderauthenticationConfiguration(com.pulumi.core.Output<WebhookAuthenticationConfigurationArgs> authenticationConfiguration)WebhookArgsbuild()WebhookArgs.Builderfilters(WebhookFilterArgs... filters)WebhookArgs.Builderfilters(com.pulumi.core.Output<java.util.List<WebhookFilterArgs>> filters)WebhookArgs.Builderfilters(java.util.List<WebhookFilterArgs> filters)WebhookArgs.Buildername(com.pulumi.core.Output<java.lang.String> name)WebhookArgs.Buildername(java.lang.String name)WebhookArgs.Builderregion(com.pulumi.core.Output<java.lang.String> region)WebhookArgs.Builderregion(java.lang.String region)WebhookArgs.Buildertags(com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> tags)WebhookArgs.Buildertags(java.util.Map<java.lang.String,java.lang.String> tags)WebhookArgs.BuildertargetAction(com.pulumi.core.Output<java.lang.String> targetAction)WebhookArgs.BuildertargetAction(java.lang.String targetAction)WebhookArgs.BuildertargetPipeline(com.pulumi.core.Output<java.lang.String> targetPipeline)WebhookArgs.BuildertargetPipeline(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
-
region
public WebhookArgs.Builder region(@Nullable com.pulumi.core.Output<java.lang.String> region)
- Parameters:
region- Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.- Returns:
- builder
-
region
public WebhookArgs.Builder region(java.lang.String region)
- Parameters:
region- Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.- 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 `defaultTags` 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 `defaultTags` 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()
-
-