Class CfnOrganizationalUnitAssociationProps.Builder
java.lang.Object
software.amazon.awscdk.services.notifications.CfnOrganizationalUnitAssociationProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnOrganizationalUnitAssociationProps>
- Enclosing interface:
CfnOrganizationalUnitAssociationProps
@Stability(Stable)
public static final class CfnOrganizationalUnitAssociationProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnOrganizationalUnitAssociationProps>
A builder for
CfnOrganizationalUnitAssociationProps
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.notificationConfigurationArn
(String notificationConfigurationArn) Sets the value ofCfnOrganizationalUnitAssociationProps.getNotificationConfigurationArn()
organizationalUnitId
(String organizationalUnitId) Sets the value ofCfnOrganizationalUnitAssociationProps.getOrganizationalUnitId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
notificationConfigurationArn
@Stability(Stable) public CfnOrganizationalUnitAssociationProps.Builder notificationConfigurationArn(String notificationConfigurationArn) Sets the value ofCfnOrganizationalUnitAssociationProps.getNotificationConfigurationArn()
- Parameters:
notificationConfigurationArn
- ARN identifier of the NotificationConfiguration. This parameter is required. Example: arn:aws:notifications::123456789012:configuration/a01jes88qxwkbj05xv9c967pgm1- Returns:
this
-
organizationalUnitId
@Stability(Stable) public CfnOrganizationalUnitAssociationProps.Builder organizationalUnitId(String organizationalUnitId) Sets the value ofCfnOrganizationalUnitAssociationProps.getOrganizationalUnitId()
- Parameters:
organizationalUnitId
- The ID of the organizational unit. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnOrganizationalUnitAssociationProps>
- Returns:
- a new instance of
CfnOrganizationalUnitAssociationProps
- Throws:
NullPointerException
- if any required attribute was not provided
-