Class MemorydbUserAuthenticationMode.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.aws.memorydb_user.MemorydbUserAuthenticationMode.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<MemorydbUserAuthenticationMode>
- Enclosing interface:
- MemorydbUserAuthenticationMode
@Stability(Stable) public static final class MemorydbUserAuthenticationMode.Builder extends Object implements software.amazon.jsii.Builder<MemorydbUserAuthenticationMode>
A builder forMemorydbUserAuthenticationMode
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MemorydbUserAuthenticationModebuild()Builds the configured instance.MemorydbUserAuthenticationMode.Builderpasswords(List<String> passwords)Sets the value ofMemorydbUserAuthenticationMode.getPasswords()MemorydbUserAuthenticationMode.Buildertype(String type)Sets the value ofMemorydbUserAuthenticationMode.getType()
-
-
-
Method Detail
-
passwords
@Stability(Stable) public MemorydbUserAuthenticationMode.Builder passwords(List<String> passwords)
Sets the value ofMemorydbUserAuthenticationMode.getPasswords()- Parameters:
passwords- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/memorydb_user#passwords MemorydbUser#passwords}. This parameter is required.- Returns:
this
-
type
@Stability(Stable) public MemorydbUserAuthenticationMode.Builder type(String type)
Sets the value ofMemorydbUserAuthenticationMode.getType()- Parameters:
type- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/memorydb_user#type MemorydbUser#type}. This parameter is required.- Returns:
this
-
build
@Stability(Stable) public MemorydbUserAuthenticationMode build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<MemorydbUserAuthenticationMode>- Returns:
- a new instance of
MemorydbUserAuthenticationMode - Throws:
NullPointerException- if any required attribute was not provided
-
-