Class CfnWebhookProps.Builder
java.lang.Object
software.amazon.awscdk.services.amplify.CfnWebhookProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnWebhookProps>
- Enclosing interface:
CfnWebhookProps
@Stability(Stable)
public static final class CfnWebhookProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnWebhookProps>
A builder for
CfnWebhookProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnWebhookProps.getAppId()branchName(String branchName) Sets the value ofCfnWebhookProps.getBranchName()build()Builds the configured instance.description(String description) Sets the value ofCfnWebhookProps.getDescription()Sets the value ofCfnWebhookProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
branchName
Sets the value ofCfnWebhookProps.getBranchName()- Parameters:
branchName- The name for a branch that is part of an Amplify app. This parameter is required.- Returns:
this
-
appId
Sets the value ofCfnWebhookProps.getAppId()- Parameters:
appId- The unique ID for an Amplify app.- Returns:
this
-
description
Sets the value ofCfnWebhookProps.getDescription()- Parameters:
description- The description for a webhook.- Returns:
this
-
tags
Sets the value ofCfnWebhookProps.getTags()- Parameters:
tags- Tags for the webhook.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnWebhookProps>- Returns:
- a new instance of
CfnWebhookProps - Throws:
NullPointerException- if any required attribute was not provided
-