Class CfnManagedNotificationAccountContactAssociationProps.Builder
java.lang.Object
software.amazon.awscdk.services.notifications.CfnManagedNotificationAccountContactAssociationProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnManagedNotificationAccountContactAssociationProps>
- Enclosing interface:
CfnManagedNotificationAccountContactAssociationProps
@Stability(Stable)
public static final class CfnManagedNotificationAccountContactAssociationProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnManagedNotificationAccountContactAssociationProps>
A builder for
CfnManagedNotificationAccountContactAssociationProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.contactIdentifier(String contactIdentifier) isSensitiveEventsSubscribed(Boolean isSensitiveEventsSubscribed) isSensitiveEventsSubscribed(IResolvable isSensitiveEventsSubscribed) managedNotificationConfigurationArn(String managedNotificationConfigurationArn)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
contactIdentifier
@Stability(Stable) public CfnManagedNotificationAccountContactAssociationProps.Builder contactIdentifier(String contactIdentifier) - Parameters:
contactIdentifier- The unique identifier of the notification contact associated with the AWS account. This parameter is required. For more information about the contact types associated with an account, see the Account Management Reference Guide .- Returns:
this
-
managedNotificationConfigurationArn
@Stability(Stable) public CfnManagedNotificationAccountContactAssociationProps.Builder managedNotificationConfigurationArn(String managedNotificationConfigurationArn) Sets the value ofCfnManagedNotificationAccountContactAssociationProps.getManagedNotificationConfigurationArn()- Parameters:
managedNotificationConfigurationArn- The ARN of theManagedNotificationConfigurationto be associated with theChannel. This parameter is required.- Returns:
this
-
isSensitiveEventsSubscribed
@Stability(Stable) public CfnManagedNotificationAccountContactAssociationProps.Builder isSensitiveEventsSubscribed(Boolean isSensitiveEventsSubscribed) Sets the value ofCfnManagedNotificationAccountContactAssociationProps.getIsSensitiveEventsSubscribed()- Parameters:
isSensitiveEventsSubscribed- Whether the account contact association is subscribed to sensitive events. Access to sensitive events is gated by the SubscribeSensitiveEvents virtual IAM action.- Returns:
this
-
isSensitiveEventsSubscribed
@Stability(Stable) public CfnManagedNotificationAccountContactAssociationProps.Builder isSensitiveEventsSubscribed(IResolvable isSensitiveEventsSubscribed) Sets the value ofCfnManagedNotificationAccountContactAssociationProps.getIsSensitiveEventsSubscribed()- Parameters:
isSensitiveEventsSubscribed- Whether the account contact association is subscribed to sensitive events. Access to sensitive events is gated by the SubscribeSensitiveEvents virtual IAM action.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnManagedNotificationAccountContactAssociationProps>- Returns:
- a new instance of
CfnManagedNotificationAccountContactAssociationProps - Throws:
NullPointerException- if any required attribute was not provided
-