Class OrganizationalUnitAssociationReference.Builder
java.lang.Object
software.amazon.awscdk.services.notifications.OrganizationalUnitAssociationReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<OrganizationalUnitAssociationReference>
- Enclosing interface:
OrganizationalUnitAssociationReference
@Stability(Stable)
public static final class OrganizationalUnitAssociationReference.Builder
extends Object
implements software.amazon.jsii.Builder<OrganizationalUnitAssociationReference>
A builder for
OrganizationalUnitAssociationReference
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.notificationConfigurationArn
(String notificationConfigurationArn) Sets the value ofOrganizationalUnitAssociationReference.getNotificationConfigurationArn()
organizationalUnitId
(String organizationalUnitId) Sets the value ofOrganizationalUnitAssociationReference.getOrganizationalUnitId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
notificationConfigurationArn
@Stability(Stable) public OrganizationalUnitAssociationReference.Builder notificationConfigurationArn(String notificationConfigurationArn) Sets the value ofOrganizationalUnitAssociationReference.getNotificationConfigurationArn()
- Parameters:
notificationConfigurationArn
- The NotificationConfigurationArn of the OrganizationalUnitAssociation resource. This parameter is required.- Returns:
this
-
organizationalUnitId
@Stability(Stable) public OrganizationalUnitAssociationReference.Builder organizationalUnitId(String organizationalUnitId) Sets the value ofOrganizationalUnitAssociationReference.getOrganizationalUnitId()
- Parameters:
organizationalUnitId
- The OrganizationalUnitId of the OrganizationalUnitAssociation resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<OrganizationalUnitAssociationReference>
- Returns:
- a new instance of
OrganizationalUnitAssociationReference
- Throws:
NullPointerException
- if any required attribute was not provided
-