@Generated(value="software.amazon.awssdk:codegen") public final class RedisSettings extends Object implements SdkPojo, Serializable, ToCopyableBuilder<RedisSettings.Builder,RedisSettings>
Provides information that defines a Redis target endpoint.
| Modifier and Type | Class and Description |
|---|---|
static interface |
RedisSettings.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
authPassword()
The password provided with the
auth-role and auth-token options of the
AuthType setting for a Redis target endpoint. |
RedisAuthTypeValue |
authType()
The type of authentication to perform when connecting to a Redis target.
|
String |
authTypeAsString()
The type of authentication to perform when connecting to a Redis target.
|
String |
authUserName()
The user name provided with the
auth-role option of the AuthType setting for a Redis
target endpoint. |
static RedisSettings.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Integer |
port()
Transmission Control Protocol (TCP) port for the endpoint.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends RedisSettings.Builder> |
serializableBuilderClass() |
String |
serverName()
Fully qualified domain name of the endpoint.
|
String |
sslCaCertificateArn()
The Amazon Resource Name (ARN) for the certificate authority (CA) that DMS uses to connect to your Redis target
endpoint.
|
SslSecurityProtocolValue |
sslSecurityProtocol()
The connection to a Redis target endpoint using Transport Layer Security (TLS).
|
String |
sslSecurityProtocolAsString()
The connection to a Redis target endpoint using Transport Layer Security (TLS).
|
RedisSettings.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String serverName()
Fully qualified domain name of the endpoint.
public final Integer port()
Transmission Control Protocol (TCP) port for the endpoint.
public final SslSecurityProtocolValue sslSecurityProtocol()
The connection to a Redis target endpoint using Transport Layer Security (TLS). Valid values include
plaintext and ssl-encryption. The default is ssl-encryption. The
ssl-encryption option makes an encrypted connection. Optionally, you can identify an Amazon Resource
Name (ARN) for an SSL certificate authority (CA) using the SslCaCertificateArn setting. If an ARN
isn't given for a CA, DMS uses the Amazon root CA.
The plaintext option doesn't provide Transport Layer Security (TLS) encryption for traffic between
endpoint and database.
If the service returns an enum value that is not available in the current SDK version,
sslSecurityProtocol will return SslSecurityProtocolValue.UNKNOWN_TO_SDK_VERSION. The raw value
returned by the service is available from sslSecurityProtocolAsString().
plaintext and ssl-encryption. The default is ssl-encryption. The
ssl-encryption option makes an encrypted connection. Optionally, you can identify an Amazon
Resource Name (ARN) for an SSL certificate authority (CA) using the SslCaCertificateArn
setting. If an ARN isn't given for a CA, DMS uses the Amazon root CA.
The plaintext option doesn't provide Transport Layer Security (TLS) encryption for traffic
between endpoint and database.
SslSecurityProtocolValuepublic final String sslSecurityProtocolAsString()
The connection to a Redis target endpoint using Transport Layer Security (TLS). Valid values include
plaintext and ssl-encryption. The default is ssl-encryption. The
ssl-encryption option makes an encrypted connection. Optionally, you can identify an Amazon Resource
Name (ARN) for an SSL certificate authority (CA) using the SslCaCertificateArn setting. If an ARN
isn't given for a CA, DMS uses the Amazon root CA.
The plaintext option doesn't provide Transport Layer Security (TLS) encryption for traffic between
endpoint and database.
If the service returns an enum value that is not available in the current SDK version,
sslSecurityProtocol will return SslSecurityProtocolValue.UNKNOWN_TO_SDK_VERSION. The raw value
returned by the service is available from sslSecurityProtocolAsString().
plaintext and ssl-encryption. The default is ssl-encryption. The
ssl-encryption option makes an encrypted connection. Optionally, you can identify an Amazon
Resource Name (ARN) for an SSL certificate authority (CA) using the SslCaCertificateArn
setting. If an ARN isn't given for a CA, DMS uses the Amazon root CA.
The plaintext option doesn't provide Transport Layer Security (TLS) encryption for traffic
between endpoint and database.
SslSecurityProtocolValuepublic final RedisAuthTypeValue authType()
The type of authentication to perform when connecting to a Redis target. Options include none,
auth-token, and auth-role. The auth-token option requires an
AuthPassword value to be provided. The auth-role option requires
AuthUserName and AuthPassword values to be provided.
If the service returns an enum value that is not available in the current SDK version, authType will
return RedisAuthTypeValue.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
authTypeAsString().
none, auth-token, and auth-role. The auth-token
option requires an AuthPassword value to be provided. The auth-role option
requires AuthUserName and AuthPassword values to be provided.RedisAuthTypeValuepublic final String authTypeAsString()
The type of authentication to perform when connecting to a Redis target. Options include none,
auth-token, and auth-role. The auth-token option requires an
AuthPassword value to be provided. The auth-role option requires
AuthUserName and AuthPassword values to be provided.
If the service returns an enum value that is not available in the current SDK version, authType will
return RedisAuthTypeValue.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
authTypeAsString().
none, auth-token, and auth-role. The auth-token
option requires an AuthPassword value to be provided. The auth-role option
requires AuthUserName and AuthPassword values to be provided.RedisAuthTypeValuepublic final String authUserName()
The user name provided with the auth-role option of the AuthType setting for a Redis
target endpoint.
auth-role option of the AuthType setting for a
Redis target endpoint.public final String authPassword()
The password provided with the auth-role and auth-token options of the
AuthType setting for a Redis target endpoint.
auth-role and auth-token options of the
AuthType setting for a Redis target endpoint.public final String sslCaCertificateArn()
The Amazon Resource Name (ARN) for the certificate authority (CA) that DMS uses to connect to your Redis target endpoint.
public RedisSettings.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<RedisSettings.Builder,RedisSettings>public static RedisSettings.Builder builder()
public static Class<? extends RedisSettings.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.