Class WebhookState.Builder
- java.lang.Object
-
- com.pulumi.aws.codepipeline.inputs.WebhookState.Builder
-
- Enclosing class:
- WebhookState
public static final class WebhookState.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()Builder(WebhookState defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description WebhookState.Builderarn(com.pulumi.core.Output<java.lang.String> arn)WebhookState.Builderarn(java.lang.String arn)WebhookState.Builderauthentication(com.pulumi.core.Output<java.lang.String> authentication)WebhookState.Builderauthentication(java.lang.String authentication)WebhookState.BuilderauthenticationConfiguration(WebhookAuthenticationConfigurationArgs authenticationConfiguration)WebhookState.BuilderauthenticationConfiguration(com.pulumi.core.Output<WebhookAuthenticationConfigurationArgs> authenticationConfiguration)WebhookStatebuild()WebhookState.Builderfilters(WebhookFilterArgs... filters)WebhookState.Builderfilters(com.pulumi.core.Output<java.util.List<WebhookFilterArgs>> filters)WebhookState.Builderfilters(java.util.List<WebhookFilterArgs> filters)WebhookState.Buildername(com.pulumi.core.Output<java.lang.String> name)WebhookState.Buildername(java.lang.String name)WebhookState.Builderregion(com.pulumi.core.Output<java.lang.String> region)WebhookState.Builderregion(java.lang.String region)WebhookState.Buildertags(com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> tags)WebhookState.Buildertags(java.util.Map<java.lang.String,java.lang.String> tags)WebhookState.BuildertagsAll(com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> tagsAll)WebhookState.BuildertagsAll(java.util.Map<java.lang.String,java.lang.String> tagsAll)WebhookState.BuildertargetAction(com.pulumi.core.Output<java.lang.String> targetAction)WebhookState.BuildertargetAction(java.lang.String targetAction)WebhookState.BuildertargetPipeline(com.pulumi.core.Output<java.lang.String> targetPipeline)WebhookState.BuildertargetPipeline(java.lang.String targetPipeline)WebhookState.Builderurl(com.pulumi.core.Output<java.lang.String> url)WebhookState.Builderurl(java.lang.String url)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(WebhookState defaults)
-
-
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
-
region
public WebhookState.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 WebhookState.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 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 `defaultTags` 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 `defaultTags` 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 `defaultTags` configuration block.- 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 `defaultTags` configuration block.- 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
-
build
public WebhookState build()
-
-