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