@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UserAuthConfigInfo extends Object implements Serializable, Cloneable
Returns the details of authentication used by a proxy to log in as a specific database user.
| Constructor and Description |
|---|
UserAuthConfigInfo() |
| Modifier and Type | Method and Description |
|---|---|
UserAuthConfigInfo |
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()
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)
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.
|
UserAuthConfigInfo |
withAuthScheme(AuthScheme authScheme)
The type of authentication that the proxy uses for connections from the proxy to the underlying database.
|
UserAuthConfigInfo |
withAuthScheme(String authScheme)
The type of authentication that the proxy uses for connections from the proxy to the underlying database.
|
UserAuthConfigInfo |
withClientPasswordAuthType(ClientPasswordAuthType clientPasswordAuthType)
The type of authentication the proxy uses for connections from clients.
|
UserAuthConfigInfo |
withClientPasswordAuthType(String clientPasswordAuthType)
The type of authentication the proxy uses for connections from clients.
|
UserAuthConfigInfo |
withDescription(String description)
A user-specified description about the authentication used by a proxy to log in as a specific database user.
|
UserAuthConfigInfo |
withIAMAuth(IAMAuthMode iAMAuth)
Whether to require or disallow Amazon Web Services Identity and Access Management (IAM) authentication for
connections to the proxy.
|
UserAuthConfigInfo |
withIAMAuth(String iAMAuth)
Whether to require or disallow Amazon Web Services Identity and Access Management (IAM) authentication for
connections to the proxy.
|
UserAuthConfigInfo |
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.
|
UserAuthConfigInfo |
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 UserAuthConfigInfo 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 UserAuthConfigInfo 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 UserAuthConfigInfo 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 UserAuthConfigInfo 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 UserAuthConfigInfo 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 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 - 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.IAMAuthModepublic String getIAMAuth()
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.IAMAuthModepublic UserAuthConfigInfo withIAMAuth(String iAMAuth)
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 - 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.IAMAuthModepublic UserAuthConfigInfo withIAMAuth(IAMAuthMode iAMAuth)
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 - 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.IAMAuthModepublic 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.ClientPasswordAuthTypepublic String getClientPasswordAuthType()
The type of authentication the proxy uses for connections from clients.
ClientPasswordAuthTypepublic UserAuthConfigInfo 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.ClientPasswordAuthTypepublic UserAuthConfigInfo 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.ClientPasswordAuthTypepublic String toString()
toString in class ObjectObject.toString()public UserAuthConfigInfo clone()