Class CfnUserPropsMixin.AuthenticationModeProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.memorydb.CfnUserPropsMixin.AuthenticationModeProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnUserPropsMixin.AuthenticationModeProperty>
- Enclosing interface:
CfnUserPropsMixin.AuthenticationModeProperty
@Stability(Stable)
public static final class CfnUserPropsMixin.AuthenticationModeProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnUserPropsMixin.AuthenticationModeProperty>
A builder for
CfnUserPropsMixin.AuthenticationModeProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnUserPropsMixin.AuthenticationModeProperty.getPasswords()Sets the value ofCfnUserPropsMixin.AuthenticationModeProperty.getType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
passwords
@Stability(Stable) public CfnUserPropsMixin.AuthenticationModeProperty.Builder passwords(List<String> passwords) Sets the value ofCfnUserPropsMixin.AuthenticationModeProperty.getPasswords()- Parameters:
passwords- The password(s) used for authentication.- Returns:
this
-
type
Sets the value ofCfnUserPropsMixin.AuthenticationModeProperty.getType()- Parameters:
type- Indicates whether the user requires a password to authenticate. All newly-created users require a password.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnUserPropsMixin.AuthenticationModeProperty>- Returns:
- a new instance of
CfnUserPropsMixin.AuthenticationModeProperty - Throws:
NullPointerException- if any required attribute was not provided
-