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