Class CfnUser.LoginProfileProperty.Builder
java.lang.Object
software.amazon.awscdk.services.iam.CfnUser.LoginProfileProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnUser.LoginProfileProperty>
- Enclosing interface:
CfnUser.LoginProfileProperty
@Stability(Stable)
public static final class CfnUser.LoginProfileProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnUser.LoginProfileProperty>
A builder for
CfnUser.LoginProfileProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnUser.LoginProfileProperty.getPassword()passwordResetRequired(Boolean passwordResetRequired) Sets the value ofCfnUser.LoginProfileProperty.getPasswordResetRequired()passwordResetRequired(IResolvable passwordResetRequired) Sets the value ofCfnUser.LoginProfileProperty.getPasswordResetRequired()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
password
Sets the value ofCfnUser.LoginProfileProperty.getPassword()- Parameters:
password- The user's password. This parameter is required.- Returns:
this
-
passwordResetRequired
@Stability(Stable) public CfnUser.LoginProfileProperty.Builder passwordResetRequired(Boolean passwordResetRequired) Sets the value ofCfnUser.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 CfnUser.LoginProfileProperty.Builder passwordResetRequired(IResolvable passwordResetRequired) Sets the value ofCfnUser.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<CfnUser.LoginProfileProperty>- Returns:
- a new instance of
CfnUser.LoginProfileProperty - Throws:
NullPointerException- if any required attribute was not provided
-