| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
UserProps.Builder |
adminUser(ISecret adminUser)
Sets the value of
DatabaseOptions.getAdminUser() |
UserProps |
build()
Builds the configured instance.
|
UserProps.Builder |
cluster(ICluster cluster)
Sets the value of
DatabaseOptions.getCluster() |
UserProps.Builder |
databaseName(String databaseName)
Sets the value of
DatabaseOptions.getDatabaseName() |
UserProps.Builder |
encryptionKey(IKey encryptionKey)
Sets the value of
UserProps.getEncryptionKey() |
UserProps.Builder |
removalPolicy(RemovalPolicy removalPolicy)
Sets the value of
UserProps.getRemovalPolicy() |
UserProps.Builder |
username(String username)
Sets the value of
UserProps.getUsername() |
@Stability(value=Experimental) public UserProps.Builder encryptionKey(IKey encryptionKey)
UserProps.getEncryptionKey()encryptionKey - KMS key to encrypt the generated secret.this@Stability(value=Experimental) public UserProps.Builder removalPolicy(RemovalPolicy removalPolicy)
UserProps.getRemovalPolicy()removalPolicy - The policy to apply when this resource is removed from the application.this@Stability(value=Experimental) public UserProps.Builder username(String username)
UserProps.getUsername()username - The name of the user.
For valid values, see: https://docs.aws.amazon.com/redshift/latest/dg/r_names.htmlthis@Stability(value=Experimental) public UserProps.Builder cluster(ICluster cluster)
DatabaseOptions.getCluster()cluster - The cluster containing the database. This parameter is required.this@Stability(value=Experimental) public UserProps.Builder databaseName(String databaseName)
DatabaseOptions.getDatabaseName()databaseName - The name of the database. This parameter is required.this@Stability(value=Experimental) public UserProps.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 UserProps build()
build in interface software.amazon.jsii.Builder<UserProps>UserPropsNullPointerException - if any required attribute was not providedCopyright © 2021. All rights reserved.