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