Class WebhookReference.Builder
java.lang.Object
software.amazon.awscdk.interfaces.amplify.WebhookReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<WebhookReference>
- Enclosing interface:
WebhookReference
@Stability(Stable)
public static final class WebhookReference.Builder
extends Object
implements software.amazon.jsii.Builder<WebhookReference>
A builder for
WebhookReference-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.webhookArn(String webhookArn) Sets the value ofWebhookReference.getWebhookArn()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
webhookArn
Sets the value ofWebhookReference.getWebhookArn()- Parameters:
webhookArn- The Arn of the Webhook resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<WebhookReference>- Returns:
- a new instance of
WebhookReference - Throws:
NullPointerException- if any required attribute was not provided
-