Class CfnStackUserAssociationMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.appstream.CfnStackUserAssociationMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnStackUserAssociationMixinProps>
- Enclosing interface:
CfnStackUserAssociationMixinProps
@Stability(Stable)
public static final class CfnStackUserAssociationMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnStackUserAssociationMixinProps>
A builder for
CfnStackUserAssociationMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionauthenticationType(String authenticationType) Sets the value ofCfnStackUserAssociationMixinProps.getAuthenticationType()build()Builds the configured instance.sendEmailNotification(Boolean sendEmailNotification) Sets the value ofCfnStackUserAssociationMixinProps.getSendEmailNotification()sendEmailNotification(IResolvable sendEmailNotification) Sets the value ofCfnStackUserAssociationMixinProps.getSendEmailNotification()Sets the value ofCfnStackUserAssociationMixinProps.getStackName()Sets the value ofCfnStackUserAssociationMixinProps.getUserName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
authenticationType
@Stability(Stable) public CfnStackUserAssociationMixinProps.Builder authenticationType(String authenticationType) Sets the value ofCfnStackUserAssociationMixinProps.getAuthenticationType()- Parameters:
authenticationType- The authentication type for the user who is associated with the stack. You must specify USERPOOL.- Returns:
this
-
sendEmailNotification
@Stability(Stable) public CfnStackUserAssociationMixinProps.Builder sendEmailNotification(Boolean sendEmailNotification) Sets the value ofCfnStackUserAssociationMixinProps.getSendEmailNotification()- Parameters:
sendEmailNotification- Specifies whether a welcome email is sent to a user after the user is created in the user pool.- Returns:
this
-
sendEmailNotification
@Stability(Stable) public CfnStackUserAssociationMixinProps.Builder sendEmailNotification(IResolvable sendEmailNotification) Sets the value ofCfnStackUserAssociationMixinProps.getSendEmailNotification()- Parameters:
sendEmailNotification- Specifies whether a welcome email is sent to a user after the user is created in the user pool.- Returns:
this
-
stackName
Sets the value ofCfnStackUserAssociationMixinProps.getStackName()- Parameters:
stackName- The name of the stack that is associated with the user.- Returns:
this
-
userName
Sets the value ofCfnStackUserAssociationMixinProps.getUserName()- Parameters:
userName- The email address of the user who is associated with the stack.Users' email addresses are case-sensitive.
- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnStackUserAssociationMixinProps>- Returns:
- a new instance of
CfnStackUserAssociationMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-