@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UserAuthConfig extends Object implements Serializable, Cloneable
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 |
getClientPasswordAuthType()
The type of authentication the proxy uses for connections from clients.
|
String |
getDescription()
A user-specified description about the authentication used by a proxy to log in as a specific database user.
|
String |
getIAMAuth()
A value that indicates whether to require or disallow Amazon Web Services 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 |
setClientPasswordAuthType(String clientPasswordAuthType)
The type of authentication the proxy uses for connections from clients.
|
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)
A value that indicates whether to require or disallow Amazon Web Services 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 |
withClientPasswordAuthType(ClientPasswordAuthType clientPasswordAuthType)
The type of authentication the proxy uses for connections from clients.
|
UserAuthConfig |
withClientPasswordAuthType(String clientPasswordAuthType)
The type of authentication the proxy uses for connections from clients.
|
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)
A value that indicates whether to require or disallow Amazon Web Services Identity and Access Management (IAM)
authentication for connections to the proxy.
|
UserAuthConfig |
withIAMAuth(String iAMAuth)
A value that indicates whether to require or disallow Amazon Web Services 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.AuthScheme
public String getAuthScheme()
The type of authentication that the proxy uses for connections from the proxy to the underlying database.
AuthScheme
public 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.AuthScheme
public 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.AuthScheme
public 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)
A value that indicates whether to require or disallow Amazon Web Services Identity and Access Management (IAM)
authentication for connections to the proxy. The ENABLED
value is valid only for proxies with RDS
for Microsoft SQL Server.
iAMAuth
- A value that indicates whether to require or disallow Amazon Web Services Identity and Access Management
(IAM) authentication for connections to the proxy. The ENABLED
value is valid only for
proxies with RDS for Microsoft SQL Server.IAMAuthMode
public String getIAMAuth()
A value that indicates whether to require or disallow Amazon Web Services Identity and Access Management (IAM)
authentication for connections to the proxy. The ENABLED
value is valid only for proxies with RDS
for Microsoft SQL Server.
ENABLED
value is valid only for
proxies with RDS for Microsoft SQL Server.IAMAuthMode
public UserAuthConfig withIAMAuth(String iAMAuth)
A value that indicates whether to require or disallow Amazon Web Services Identity and Access Management (IAM)
authentication for connections to the proxy. The ENABLED
value is valid only for proxies with RDS
for Microsoft SQL Server.
iAMAuth
- A value that indicates whether to require or disallow Amazon Web Services Identity and Access Management
(IAM) authentication for connections to the proxy. The ENABLED
value is valid only for
proxies with RDS for Microsoft SQL Server.IAMAuthMode
public UserAuthConfig withIAMAuth(IAMAuthMode iAMAuth)
A value that indicates whether to require or disallow Amazon Web Services Identity and Access Management (IAM)
authentication for connections to the proxy. The ENABLED
value is valid only for proxies with RDS
for Microsoft SQL Server.
iAMAuth
- A value that indicates whether to require or disallow Amazon Web Services Identity and Access Management
(IAM) authentication for connections to the proxy. The ENABLED
value is valid only for
proxies with RDS for Microsoft SQL Server.IAMAuthMode
public void setClientPasswordAuthType(String clientPasswordAuthType)
The type of authentication the proxy uses for connections from clients.
clientPasswordAuthType
- The type of authentication the proxy uses for connections from clients.ClientPasswordAuthType
public String getClientPasswordAuthType()
The type of authentication the proxy uses for connections from clients.
ClientPasswordAuthType
public UserAuthConfig withClientPasswordAuthType(String clientPasswordAuthType)
The type of authentication the proxy uses for connections from clients.
clientPasswordAuthType
- The type of authentication the proxy uses for connections from clients.ClientPasswordAuthType
public UserAuthConfig withClientPasswordAuthType(ClientPasswordAuthType clientPasswordAuthType)
The type of authentication the proxy uses for connections from clients.
clientPasswordAuthType
- The type of authentication the proxy uses for connections from clients.ClientPasswordAuthType
public String toString()
toString
in class Object
Object.toString()
public UserAuthConfig clone()