Class CfnOrganizationalUnitAssociation.Builder
java.lang.Object
software.amazon.awscdk.services.notifications.CfnOrganizationalUnitAssociation.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnOrganizationalUnitAssociation>
- Enclosing class:
CfnOrganizationalUnitAssociation
@Stability(Stable)
public static final class CfnOrganizationalUnitAssociation.Builder
extends Object
implements software.amazon.jsii.Builder<CfnOrganizationalUnitAssociation>
A fluent builder for
CfnOrganizationalUnitAssociation.-
Method Summary
Modifier and TypeMethodDescriptionbuild()notificationConfigurationArn(String notificationConfigurationArn) ARN identifier of the NotificationConfiguration.organizationalUnitId(String organizationalUnitId) The ID of the organizational unit.
-
Method Details
-
create
@Stability(Stable) public static CfnOrganizationalUnitAssociation.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnOrganizationalUnitAssociation.Builder.
-
notificationConfigurationArn
@Stability(Stable) public CfnOrganizationalUnitAssociation.Builder notificationConfigurationArn(String notificationConfigurationArn) ARN identifier of the NotificationConfiguration.Example: arn:aws:notifications::123456789012:configuration/a01jes88qxwkbj05xv9c967pgm1
- Parameters:
notificationConfigurationArn- ARN identifier of the NotificationConfiguration. This parameter is required.- Returns:
this- See Also:
-
organizationalUnitId
@Stability(Stable) public CfnOrganizationalUnitAssociation.Builder organizationalUnitId(String organizationalUnitId) The ID of the organizational unit.- Parameters:
organizationalUnitId- The ID of the organizational unit. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnOrganizationalUnitAssociation>- Returns:
- a newly built instance of
CfnOrganizationalUnitAssociation.
-