Class CfnRule.NotificationRecipientTypeProperty.Builder
java.lang.Object
software.amazon.awscdk.services.connect.CfnRule.NotificationRecipientTypeProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnRule.NotificationRecipientTypeProperty>
- Enclosing interface:
CfnRule.NotificationRecipientTypeProperty
@Stability(Stable)
public static final class CfnRule.NotificationRecipientTypeProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnRule.NotificationRecipientTypeProperty>
A builder for
CfnRule.NotificationRecipientTypeProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnRule.NotificationRecipientTypeProperty.getUserArns()Sets the value ofCfnRule.NotificationRecipientTypeProperty.getUserTags()userTags(IResolvable userTags) Sets the value ofCfnRule.NotificationRecipientTypeProperty.getUserTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
userArns
@Stability(Stable) public CfnRule.NotificationRecipientTypeProperty.Builder userArns(List<String> userArns) Sets the value ofCfnRule.NotificationRecipientTypeProperty.getUserArns()- Parameters:
userArns- The Amazon Resource Name (ARN) of the user account.- Returns:
this
-
userTags
@Stability(Stable) public CfnRule.NotificationRecipientTypeProperty.Builder userTags(IResolvable userTags) Sets the value ofCfnRule.NotificationRecipientTypeProperty.getUserTags()- Parameters:
userTags- The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }. Amazon Connect users with the specified tags will be notified.- Returns:
this
-
userTags
@Stability(Stable) public CfnRule.NotificationRecipientTypeProperty.Builder userTags(Map<String, String> userTags) Sets the value ofCfnRule.NotificationRecipientTypeProperty.getUserTags()- Parameters:
userTags- The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }. Amazon Connect users with the specified tags will be notified.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnRule.NotificationRecipientTypeProperty>- Returns:
- a new instance of
CfnRule.NotificationRecipientTypeProperty - Throws:
NullPointerException- if any required attribute was not provided
-