Class CfnUserPropsMixin.LoginProfileProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.iam.CfnUserPropsMixin.LoginProfileProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnUserPropsMixin.LoginProfileProperty>
- Enclosing interface:
CfnUserPropsMixin.LoginProfileProperty
@Stability(Stable)
public static final class CfnUserPropsMixin.LoginProfileProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnUserPropsMixin.LoginProfileProperty>
A builder for
CfnUserPropsMixin.LoginProfileProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnUserPropsMixin.LoginProfileProperty.getPassword()passwordResetRequired(Boolean passwordResetRequired) Sets the value ofCfnUserPropsMixin.LoginProfileProperty.getPasswordResetRequired()passwordResetRequired(IResolvable passwordResetRequired) Sets the value ofCfnUserPropsMixin.LoginProfileProperty.getPasswordResetRequired()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
password
Sets the value ofCfnUserPropsMixin.LoginProfileProperty.getPassword()- Parameters:
password- The user's password.- Returns:
this
-
passwordResetRequired
@Stability(Stable) public CfnUserPropsMixin.LoginProfileProperty.Builder passwordResetRequired(Boolean passwordResetRequired) Sets the value ofCfnUserPropsMixin.LoginProfileProperty.getPasswordResetRequired()- Parameters:
passwordResetRequired- Specifies whether the user is required to set a new password on next sign-in.- Returns:
this
-
passwordResetRequired
@Stability(Stable) public CfnUserPropsMixin.LoginProfileProperty.Builder passwordResetRequired(IResolvable passwordResetRequired) Sets the value ofCfnUserPropsMixin.LoginProfileProperty.getPasswordResetRequired()- Parameters:
passwordResetRequired- Specifies whether the user is required to set a new password on next sign-in.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnUserPropsMixin.LoginProfileProperty>- Returns:
- a new instance of
CfnUserPropsMixin.LoginProfileProperty - Throws:
NullPointerException- if any required attribute was not provided
-