@Generated(value="software.amazon.awssdk:codegen") public final class UserAuthConfigInfo extends Object implements SdkPojo, Serializable, ToCopyableBuilder<UserAuthConfigInfo.Builder,UserAuthConfigInfo>
Returns the details of authentication used by a proxy to log in as a specific database user.
Modifier and Type | Class and Description |
---|---|
static interface |
UserAuthConfigInfo.Builder |
Modifier and Type | Method and Description |
---|---|
AuthScheme |
authScheme()
The type of authentication that the proxy uses for connections from the proxy to the underlying database.
|
String |
authSchemeAsString()
The type of authentication that the proxy uses for connections from the proxy to the underlying database.
|
static UserAuthConfigInfo.Builder |
builder() |
ClientPasswordAuthType |
clientPasswordAuthType()
The type of authentication the proxy uses for connections from clients.
|
String |
clientPasswordAuthTypeAsString()
The type of authentication the proxy uses for connections from clients.
|
String |
description()
A user-specified description about the authentication used by a proxy to log in as a specific database user.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
IAMAuthMode |
iamAuth()
Whether to require or disallow Amazon Web Services Identity and Access Management (IAM) authentication for
connections to the proxy.
|
String |
iamAuthAsString()
Whether to require or disallow Amazon Web Services Identity and Access Management (IAM) authentication for
connections to the proxy.
|
List<SdkField<?>> |
sdkFields() |
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.
|
static Class<? extends UserAuthConfigInfo.Builder> |
serializableBuilderClass() |
UserAuthConfigInfo.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
userName()
The name of the database user to which the proxy connects.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public final String description()
A user-specified description about the authentication used by a proxy to log in as a specific database user.
public final String userName()
The name of the database user to which the proxy connects.
public final AuthScheme authScheme()
The type of authentication that the proxy uses for connections from the proxy to the underlying database.
If the service returns an enum value that is not available in the current SDK version, authScheme
will
return AuthScheme.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
authSchemeAsString()
.
AuthScheme
public final String authSchemeAsString()
The type of authentication that the proxy uses for connections from the proxy to the underlying database.
If the service returns an enum value that is not available in the current SDK version, authScheme
will
return AuthScheme.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
authSchemeAsString()
.
AuthScheme
public final 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.
public final 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.
If the service returns an enum value that is not available in the current SDK version, iamAuth
will
return IAMAuthMode.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
iamAuthAsString()
.
ENABLED
value is valid only for proxies with RDS for
Microsoft SQL Server.IAMAuthMode
public final String iamAuthAsString()
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.
If the service returns an enum value that is not available in the current SDK version, iamAuth
will
return IAMAuthMode.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
iamAuthAsString()
.
ENABLED
value is valid only for proxies with RDS for
Microsoft SQL Server.IAMAuthMode
public final ClientPasswordAuthType clientPasswordAuthType()
The type of authentication the proxy uses for connections from clients.
If the service returns an enum value that is not available in the current SDK version,
clientPasswordAuthType
will return ClientPasswordAuthType.UNKNOWN_TO_SDK_VERSION
. The raw value
returned by the service is available from clientPasswordAuthTypeAsString()
.
ClientPasswordAuthType
public final String clientPasswordAuthTypeAsString()
The type of authentication the proxy uses for connections from clients.
If the service returns an enum value that is not available in the current SDK version,
clientPasswordAuthType
will return ClientPasswordAuthType.UNKNOWN_TO_SDK_VERSION
. The raw value
returned by the service is available from clientPasswordAuthTypeAsString()
.
ClientPasswordAuthType
public UserAuthConfigInfo.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<UserAuthConfigInfo.Builder,UserAuthConfigInfo>
public static UserAuthConfigInfo.Builder builder()
public static Class<? extends UserAuthConfigInfo.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public final String toString()
Copyright © 2023. All rights reserved.