@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UserAuthConfig extends Object implements Serializable, Cloneable
This is prerelease documentation for the RDS Database Proxy feature in preview release. It is subject to change.
Specifies the details of authentication used by a proxy to log in as a specific database user.
| Constructor and Description |
|---|
UserAuthConfig() |
| Modifier and Type | Method and Description |
|---|---|
UserAuthConfig |
clone() |
boolean |
equals(Object obj) |
String |
getAuthScheme()
The type of authentication that the proxy uses for connections from the proxy to the underlying database.
|
String |
getDescription()
A user-specified description about the authentication used by a proxy to log in as a specific database user.
|
String |
getIAMAuth()
Whether to require or disallow AWS Identity and Access Management (IAM) authentication for connections to the
proxy.
|
String |
getSecretArn()
The Amazon Resource Name (ARN) representing the secret that the proxy uses to authenticate to the RDS DB instance
or Aurora DB cluster.
|
String |
getUserName()
The name of the database user to which the proxy connects.
|
int |
hashCode() |
void |
setAuthScheme(String authScheme)
The type of authentication that the proxy uses for connections from the proxy to the underlying database.
|
void |
setDescription(String description)
A user-specified description about the authentication used by a proxy to log in as a specific database user.
|
void |
setIAMAuth(String iAMAuth)
Whether to require or disallow AWS Identity and Access Management (IAM) authentication for connections to the
proxy.
|
void |
setSecretArn(String secretArn)
The Amazon Resource Name (ARN) representing the secret that the proxy uses to authenticate to the RDS DB instance
or Aurora DB cluster.
|
void |
setUserName(String userName)
The name of the database user to which the proxy connects.
|
String |
toString()
Returns a string representation of this object.
|
UserAuthConfig |
withAuthScheme(AuthScheme authScheme)
The type of authentication that the proxy uses for connections from the proxy to the underlying database.
|
UserAuthConfig |
withAuthScheme(String authScheme)
The type of authentication that the proxy uses for connections from the proxy to the underlying database.
|
UserAuthConfig |
withDescription(String description)
A user-specified description about the authentication used by a proxy to log in as a specific database user.
|
UserAuthConfig |
withIAMAuth(IAMAuthMode iAMAuth)
Whether to require or disallow AWS Identity and Access Management (IAM) authentication for connections to the
proxy.
|
UserAuthConfig |
withIAMAuth(String iAMAuth)
Whether to require or disallow AWS Identity and Access Management (IAM) authentication for connections to the
proxy.
|
UserAuthConfig |
withSecretArn(String secretArn)
The Amazon Resource Name (ARN) representing the secret that the proxy uses to authenticate to the RDS DB instance
or Aurora DB cluster.
|
UserAuthConfig |
withUserName(String userName)
The name of the database user to which the proxy connects.
|
public void setDescription(String description)
A user-specified description about the authentication used by a proxy to log in as a specific database user.
description - A user-specified description about the authentication used by a proxy to log in as a specific database
user.public String getDescription()
A user-specified description about the authentication used by a proxy to log in as a specific database user.
public UserAuthConfig withDescription(String description)
A user-specified description about the authentication used by a proxy to log in as a specific database user.
description - A user-specified description about the authentication used by a proxy to log in as a specific database
user.public void setUserName(String userName)
The name of the database user to which the proxy connects.
userName - The name of the database user to which the proxy connects.public String getUserName()
The name of the database user to which the proxy connects.
public UserAuthConfig withUserName(String userName)
The name of the database user to which the proxy connects.
userName - The name of the database user to which the proxy connects.public void setAuthScheme(String authScheme)
The type of authentication that the proxy uses for connections from the proxy to the underlying database.
authScheme - The type of authentication that the proxy uses for connections from the proxy to the underlying database.AuthSchemepublic String getAuthScheme()
The type of authentication that the proxy uses for connections from the proxy to the underlying database.
AuthSchemepublic UserAuthConfig withAuthScheme(String authScheme)
The type of authentication that the proxy uses for connections from the proxy to the underlying database.
authScheme - The type of authentication that the proxy uses for connections from the proxy to the underlying database.AuthSchemepublic UserAuthConfig withAuthScheme(AuthScheme authScheme)
The type of authentication that the proxy uses for connections from the proxy to the underlying database.
authScheme - The type of authentication that the proxy uses for connections from the proxy to the underlying database.AuthSchemepublic void setSecretArn(String secretArn)
The Amazon Resource Name (ARN) representing the secret that the proxy uses to authenticate to the RDS DB instance or Aurora DB cluster. These secrets are stored within Amazon Secrets Manager.
secretArn - The Amazon Resource Name (ARN) representing the secret that the proxy uses to authenticate to the RDS DB
instance or Aurora DB cluster. These secrets are stored within Amazon Secrets Manager.public String getSecretArn()
The Amazon Resource Name (ARN) representing the secret that the proxy uses to authenticate to the RDS DB instance or Aurora DB cluster. These secrets are stored within Amazon Secrets Manager.
public UserAuthConfig withSecretArn(String secretArn)
The Amazon Resource Name (ARN) representing the secret that the proxy uses to authenticate to the RDS DB instance or Aurora DB cluster. These secrets are stored within Amazon Secrets Manager.
secretArn - The Amazon Resource Name (ARN) representing the secret that the proxy uses to authenticate to the RDS DB
instance or Aurora DB cluster. These secrets are stored within Amazon Secrets Manager.public void setIAMAuth(String iAMAuth)
Whether to require or disallow AWS Identity and Access Management (IAM) authentication for connections to the proxy.
iAMAuth - Whether to require or disallow AWS Identity and Access Management (IAM) authentication for connections to
the proxy.IAMAuthModepublic String getIAMAuth()
Whether to require or disallow AWS Identity and Access Management (IAM) authentication for connections to the proxy.
IAMAuthModepublic UserAuthConfig withIAMAuth(String iAMAuth)
Whether to require or disallow AWS Identity and Access Management (IAM) authentication for connections to the proxy.
iAMAuth - Whether to require or disallow AWS Identity and Access Management (IAM) authentication for connections to
the proxy.IAMAuthModepublic UserAuthConfig withIAMAuth(IAMAuthMode iAMAuth)
Whether to require or disallow AWS Identity and Access Management (IAM) authentication for connections to the proxy.
iAMAuth - Whether to require or disallow AWS Identity and Access Management (IAM) authentication for connections to
the proxy.IAMAuthModepublic String toString()
toString in class ObjectObject.toString()public UserAuthConfig clone()
Copyright © 2020. All rights reserved.