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