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