Class CfnWebhook.Builder
java.lang.Object
software.amazon.awscdk.services.amplify.CfnWebhook.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnWebhook>
- Enclosing class:
CfnWebhook
@Stability(Stable)
public static final class CfnWebhook.Builder
extends Object
implements software.amazon.jsii.Builder<CfnWebhook>
A fluent builder for
CfnWebhook.-
Method Summary
Modifier and TypeMethodDescriptionThe unique ID for an Amplify app.branchName(String branchName) The name for a branch that is part of an Amplify app.build()static CfnWebhook.Builderdescription(String description) The description for a webhook.Tags for the webhook.
-
Method Details
-
create
@Stability(Stable) public static CfnWebhook.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnWebhook.Builder.
-
branchName
The name for a branch that is part of an Amplify app.- Parameters:
branchName- The name for a branch that is part of an Amplify app. This parameter is required.- Returns:
this- See Also:
-
appId
The unique ID for an Amplify app.- Parameters:
appId- The unique ID for an Amplify app. This parameter is required.- Returns:
this- See Also:
-
description
The description for a webhook.- Parameters:
description- The description for a webhook. This parameter is required.- Returns:
this- See Also:
-
tags
Tags for the webhook.- Parameters:
tags- Tags for the webhook. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnWebhook>- Returns:
- a newly built instance of
CfnWebhook.
-