@Stability(value=Experimental) public static final class UserAttributes.Builder extends Object implements software.amazon.jsii.Builder<UserAttributes>
UserAttributes| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
UserAttributes.Builder |
adminUser(ISecret adminUser)
Sets the value of
DatabaseOptions.getAdminUser() |
UserAttributes |
build()
Builds the configured instance.
|
UserAttributes.Builder |
cluster(ICluster cluster)
Sets the value of
DatabaseOptions.getCluster() |
UserAttributes.Builder |
databaseName(String databaseName)
Sets the value of
DatabaseOptions.getDatabaseName() |
UserAttributes.Builder |
password(SecretValue password)
Sets the value of
UserAttributes.getPassword() |
UserAttributes.Builder |
username(String username)
Sets the value of
UserAttributes.getUsername() |
@Stability(value=Experimental) public UserAttributes.Builder password(SecretValue password)
UserAttributes.getPassword()password - The password of the user. This parameter is required.
Do not put passwords in CDK code directly.this@Stability(value=Experimental) public UserAttributes.Builder username(String username)
UserAttributes.getUsername()username - The name of the user. This parameter is required.this@Stability(value=Experimental) public UserAttributes.Builder cluster(ICluster cluster)
DatabaseOptions.getCluster()cluster - The cluster containing the database. This parameter is required.this@Stability(value=Experimental) public UserAttributes.Builder databaseName(String databaseName)
DatabaseOptions.getDatabaseName()databaseName - The name of the database. This parameter is required.this@Stability(value=Experimental) public UserAttributes.Builder adminUser(ISecret adminUser)
DatabaseOptions.getAdminUser()adminUser - The secret containing credentials to a Redshift user with administrator privileges.
Secret JSON schema: { username: string; password: string }.this@Stability(value=Experimental) public UserAttributes build()
build in interface software.amazon.jsii.Builder<UserAttributes>UserAttributesNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.