Class CfnNotificationChannelMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.fms.CfnNotificationChannelMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnNotificationChannelMixinProps>
- Enclosing interface:
CfnNotificationChannelMixinProps
@Stability(Stable)
public static final class CfnNotificationChannelMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnNotificationChannelMixinProps>
A builder for
CfnNotificationChannelMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.snsRoleName(String snsRoleName) Sets the value ofCfnNotificationChannelMixinProps.getSnsRoleName()snsTopicArn(String snsTopicArn) Sets the value ofCfnNotificationChannelMixinProps.getSnsTopicArn()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
snsRoleName
Sets the value ofCfnNotificationChannelMixinProps.getSnsRoleName()- Parameters:
snsRoleName- The Amazon Resource Name (ARN) of the IAM role that allows Amazon to record AWS Firewall Manager activity.- Returns:
this
-
snsTopicArn
Sets the value ofCfnNotificationChannelMixinProps.getSnsTopicArn()- Parameters:
snsTopicArn- The Amazon Resource Name (ARN) of the SNS topic that collects notifications from AWS Firewall Manager .- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnNotificationChannelMixinProps>- Returns:
- a new instance of
CfnNotificationChannelMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-