Class RedisSettings

    • 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 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().

        Returns:
        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.

        See Also:
        SslSecurityProtocolValue
      • sslSecurityProtocolAsString

        public 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().

        Returns:
        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.

        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, 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().

        Returns:
        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.
        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, 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().

        Returns:
        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.
        See Also:
        RedisAuthTypeValue
      • authUserName

        public final String authUserName()

        The user name provided with the auth-role option of the AuthType setting for a Redis target endpoint.

        Returns:
        The user name provided with the auth-role option of the AuthType setting for a Redis target endpoint.
      • authPassword

        public final String authPassword()

        The password provided with the auth-role and auth-token options of the AuthType setting for a Redis target endpoint.

        Returns:
        The password provided with the auth-role and auth-token options of the AuthType setting 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.
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • 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.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)