Class UpdateDb2ConnectionDetails.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • username

        public UpdateDb2ConnectionDetails.Builder username​(String username)
        The username Oracle GoldenGate uses to connect to the DB2 database.

        This username must already exist and be available by the DB2 to be connected to.

        Parameters:
        username - the value to set
        Returns:
        this builder
      • password

        public UpdateDb2ConnectionDetails.Builder password​(String password)
        The password Oracle GoldenGate uses to connect the associated DB2 database.

        Deprecated: This field is deprecated and replaced by “passwordSecretId”. This field will be removed after February 15 2026.

        Parameters:
        password - the value to set
        Returns:
        this builder
      • passwordSecretId

        public UpdateDb2ConnectionDetails.Builder passwordSecretId​(String passwordSecretId)
        The OCID of the Secret where the password is stored, that Oracle GoldenGate uses to connect the associated DB2 database.

        Note: When provided, ‘password’ field must not be provided.

        Parameters:
        passwordSecretId - the value to set
        Returns:
        this builder
      • additionalAttributes

        public UpdateDb2ConnectionDetails.Builder additionalAttributes​(List<NameValuePair> additionalAttributes)
        An array of name-value pair attribute entries.

        Used as additional parameters in connection string.

        Parameters:
        additionalAttributes - the value to set
        Returns:
        this builder
      • sslClientKeystoredb

        public UpdateDb2ConnectionDetails.Builder sslClientKeystoredb​(String sslClientKeystoredb)
        The base64 encoded keystore file created at the client containing the server certificate / CA root certificate.

        This property is not supported for IBM Db2 for i, as client TLS mode is not available.

        Deprecated: This field is deprecated and replaced by "sslClientKeystoredbSecretId". This field will be removed after February 15 2026.

        Parameters:
        sslClientKeystoredb - the value to set
        Returns:
        this builder
      • sslClientKeystoredbSecretId

        public UpdateDb2ConnectionDetails.Builder sslClientKeystoredbSecretId​(String sslClientKeystoredbSecretId)
        The OCID of the Secret where the keystore file stored, which created at the client containing the server certificate / CA root certificate.

        This property is not supported for IBM Db2 for i, as client TLS mode is not available.

        Note: When provided, 'sslClientKeystoredb' field must not be provided.

        Parameters:
        sslClientKeystoredbSecretId - the value to set
        Returns:
        this builder
      • sslClientKeystash

        public UpdateDb2ConnectionDetails.Builder sslClientKeystash​(String sslClientKeystash)
        The base64 encoded keystash file which contains the encrypted password to the key database file.

        This property is not supported for IBM Db2 for i, as client TLS mode is not available.

        Deprecated: This field is deprecated and replaced by "sslClientKeystashSecretId". This field will be removed after February 15 2026.

        Parameters:
        sslClientKeystash - the value to set
        Returns:
        this builder
      • sslClientKeystashSecretId

        public UpdateDb2ConnectionDetails.Builder sslClientKeystashSecretId​(String sslClientKeystashSecretId)
        The OCID of the Secret where the keystash file is stored, which contains the encrypted password to the key database file.

        This property is not supported for IBM Db2 for i, as client TLS mode is not available.

        Note: When provided, 'sslClientKeystash' field must not be provided.

        Parameters:
        sslClientKeystashSecretId - the value to set
        Returns:
        this builder
      • sslServerCertificate

        public UpdateDb2ConnectionDetails.Builder sslServerCertificate​(String sslServerCertificate)
        The base64 encoded file which contains the self-signed server certificate / Certificate Authority (CA) certificate.

        It is not included in GET responses if the view=COMPACT query parameter is specified.

        Parameters:
        sslServerCertificate - the value to set
        Returns:
        this builder