@Stability(value=Experimental) @Internal public static final class UserAttributes.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements UserAttributes
UserAttributessoftware.amazon.jsii.JsiiObject.InitializationModeUserAttributes.Builder, UserAttributes.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
protected |
Jsii$Proxy(SecretValue password,
String username,
ICluster cluster,
String databaseName,
ISecret adminUser)
Constructor that initializes the object based on literal property values passed by the
UserAttributes.Builder. |
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
ISecret |
getAdminUser()
(experimental) The secret containing credentials to a Redshift user with administrator privileges.
|
ICluster |
getCluster()
(experimental) The cluster containing the database.
|
String |
getDatabaseName()
(experimental) The name of the database.
|
SecretValue |
getPassword()
(experimental) The password of the user.
|
String |
getUsername()
(experimental) The name of the user.
|
int |
hashCode() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitbuilderprotected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef - Reference to the JSII managed object.protected Jsii$Proxy(SecretValue password, String username, ICluster cluster, String databaseName, ISecret adminUser)
UserAttributes.Builder.public final SecretValue getPassword()
UserAttributesDo not put passwords in CDK code directly.
getPassword in interface UserAttributespublic final String getUsername()
UserAttributesgetUsername in interface UserAttributespublic final ICluster getCluster()
DatabaseOptionsgetCluster in interface DatabaseOptionspublic final String getDatabaseName()
DatabaseOptionsgetDatabaseName in interface DatabaseOptionspublic final ISecret getAdminUser()
DatabaseOptions
Secret JSON schema: { username: string; password: string }.
Default: - the admin secret is taken from the cluster
getAdminUser in interface DatabaseOptions@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2021. All rights reserved.