Class RedisSettings
- java.lang.Object
-
- software.amazon.awssdk.services.databasemigration.model.RedisSettings
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<RedisSettings.Builder,RedisSettings>
@Generated("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.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceRedisSettings.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringauthPassword()The password provided with theauth-roleandauth-tokenoptions of theAuthTypesetting for a Redis target endpoint.RedisAuthTypeValueauthType()The type of authentication to perform when connecting to a Redis target.StringauthTypeAsString()The type of authentication to perform when connecting to a Redis target.StringauthUserName()The user name provided with theauth-roleoption of theAuthTypesetting for a Redis target endpoint.static RedisSettings.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Integerport()Transmission Control Protocol (TCP) port for the endpoint.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends RedisSettings.Builder>serializableBuilderClass()StringserverName()Fully qualified domain name of the endpoint.StringsslCaCertificateArn()The Amazon Resource Name (ARN) for the certificate authority (CA) that DMS uses to connect to your Redis target endpoint.SslSecurityProtocolValuesslSecurityProtocol()The connection to a Redis target endpoint using Transport Layer Security (TLS).StringsslSecurityProtocolAsString()The connection to a Redis target endpoint using Transport Layer Security (TLS).RedisSettings.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
serverName
public final String serverName()
Fully qualified domain name of the endpoint.
- Returns:
- Fully qualified domain name of the endpoint.
-
port
public final Integer port()
Transmission Control Protocol (TCP) port for the endpoint.
- Returns:
- Transmission Control Protocol (TCP) port for the endpoint.
-
sslSecurityProtocol
public final SslSecurityProtocolValue sslSecurityProtocol()
The connection to a Redis target endpoint using Transport Layer Security (TLS). Valid values include
plaintextandssl-encryption. The default isssl-encryption. Thessl-encryptionoption makes an encrypted connection. Optionally, you can identify an Amazon Resource Name (ARN) for an SSL certificate authority (CA) using theSslCaCertificateArnsetting. If an ARN isn't given for a CA, DMS uses the Amazon root CA.The
plaintextoption 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,
sslSecurityProtocolwill returnSslSecurityProtocolValue.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromsslSecurityProtocolAsString().- Returns:
- The connection to a Redis target endpoint using Transport Layer Security (TLS). Valid values include
plaintextandssl-encryption. The default isssl-encryption. Thessl-encryptionoption makes an encrypted connection. Optionally, you can identify an Amazon Resource Name (ARN) for an SSL certificate authority (CA) using theSslCaCertificateArnsetting. If an ARN isn't given for a CA, DMS uses the Amazon root CA.The
plaintextoption doesn't provide Transport Layer Security (TLS) encryption for traffic between endpoint and database. - See Also:
SslSecurityProtocolValue
-
sslSecurityProtocolAsString
public final String sslSecurityProtocolAsString()
The connection to a Redis target endpoint using Transport Layer Security (TLS). Valid values include
plaintextandssl-encryption. The default isssl-encryption. Thessl-encryptionoption makes an encrypted connection. Optionally, you can identify an Amazon Resource Name (ARN) for an SSL certificate authority (CA) using theSslCaCertificateArnsetting. If an ARN isn't given for a CA, DMS uses the Amazon root CA.The
plaintextoption 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,
sslSecurityProtocolwill returnSslSecurityProtocolValue.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromsslSecurityProtocolAsString().- Returns:
- The connection to a Redis target endpoint using Transport Layer Security (TLS). Valid values include
plaintextandssl-encryption. The default isssl-encryption. Thessl-encryptionoption makes an encrypted connection. Optionally, you can identify an Amazon Resource Name (ARN) for an SSL certificate authority (CA) using theSslCaCertificateArnsetting. If an ARN isn't given for a CA, DMS uses the Amazon root CA.The
plaintextoption doesn't provide Transport Layer Security (TLS) encryption for traffic between endpoint and database. - See Also:
SslSecurityProtocolValue
-
authType
public final RedisAuthTypeValue authType()
The type of authentication to perform when connecting to a Redis target. Options include
none,auth-token, andauth-role. Theauth-tokenoption requires anAuthPasswordvalue to be provided. Theauth-roleoption requiresAuthUserNameandAuthPasswordvalues to be provided.If the service returns an enum value that is not available in the current SDK version,
authTypewill returnRedisAuthTypeValue.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromauthTypeAsString().- Returns:
- The type of authentication to perform when connecting to a Redis target. Options include
none,auth-token, andauth-role. Theauth-tokenoption requires anAuthPasswordvalue to be provided. Theauth-roleoption requiresAuthUserNameandAuthPasswordvalues to be provided. - See Also:
RedisAuthTypeValue
-
authTypeAsString
public final String authTypeAsString()
The type of authentication to perform when connecting to a Redis target. Options include
none,auth-token, andauth-role. Theauth-tokenoption requires anAuthPasswordvalue to be provided. Theauth-roleoption requiresAuthUserNameandAuthPasswordvalues to be provided.If the service returns an enum value that is not available in the current SDK version,
authTypewill returnRedisAuthTypeValue.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromauthTypeAsString().- Returns:
- The type of authentication to perform when connecting to a Redis target. Options include
none,auth-token, andauth-role. Theauth-tokenoption requires anAuthPasswordvalue to be provided. Theauth-roleoption requiresAuthUserNameandAuthPasswordvalues to be provided. - See Also:
RedisAuthTypeValue
-
authUserName
public final String authUserName()
The user name provided with the
auth-roleoption of theAuthTypesetting for a Redis target endpoint.- Returns:
- The user name provided with the
auth-roleoption of theAuthTypesetting for a Redis target endpoint.
-
authPassword
public final String authPassword()
The password provided with the
auth-roleandauth-tokenoptions of theAuthTypesetting for a Redis target endpoint.- Returns:
- The password provided with the
auth-roleandauth-tokenoptions of theAuthTypesetting for a Redis target endpoint.
-
sslCaCertificateArn
public final String sslCaCertificateArn()
The Amazon Resource Name (ARN) for the certificate authority (CA) that DMS uses to connect to your Redis target endpoint.
- Returns:
- The Amazon Resource Name (ARN) for the certificate authority (CA) that DMS uses to connect to your Redis target endpoint.
-
toBuilder
public RedisSettings.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<RedisSettings.Builder,RedisSettings>
-
builder
public static RedisSettings.Builder builder()
-
serializableBuilderClass
public static Class<? extends RedisSettings.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-