Class CreateDatabaseRegistrationDetails.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • freeformTags

        public CreateDatabaseRegistrationDetails.Builder freeformTags​(Map<String,​String> freeformTags)
        A simple key-value pair that is applied without any predefined name, type, or scope.

        Exists for cross-compatibility only.

        Example: {"bar-key": "value"}

        Parameters:
        freeformTags - the value to set
        Returns:
        this builder
      • definedTags

        public CreateDatabaseRegistrationDetails.Builder definedTags​(Map<String,​Map<String,​Object>> definedTags)
        Tags defined for this resource.

        Each key is predefined and scoped to a namespace.

        Example: {"foo-namespace": {"bar-key": "value"}}

        Parameters:
        definedTags - the value to set
        Returns:
        this builder
      • ipAddress

        public CreateDatabaseRegistrationDetails.Builder ipAddress​(String ipAddress)
        The private IP address in the customer’s VCN of the customer’s endpoint, typically a database.
        Parameters:
        ipAddress - the value to set
        Returns:
        this builder
      • username

        public CreateDatabaseRegistrationDetails.Builder username​(String username)
        The username Oracle GoldenGate uses to connect the associated system of the given technology.

        This username must already exist and be available by the system/application to be connected to and must conform to the case sensitivty requirments defined in it.

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

        public CreateDatabaseRegistrationDetails.Builder password​(String password)
        The password Oracle GoldenGate uses to connect the associated system of the given technology.

        It must conform to the specific security requirements including length, case sensitivity, and so on. 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
      • connectionString

        public CreateDatabaseRegistrationDetails.Builder connectionString​(String connectionString)
        Connect descriptor or Easy Connect Naming method used to connect to a database.
        Parameters:
        connectionString - the value to set
        Returns:
        this builder
      • sessionMode

        public CreateDatabaseRegistrationDetails.Builder sessionMode​(CreateDatabaseRegistrationDetails.SessionMode sessionMode)
        The mode of the database connection session to be established by the data client.

        ‘REDIRECT’ - for a RAC database, ‘DIRECT’ - for a non-RAC database. Connection to a RAC database involves a redirection received from the SCAN listeners to the database node to connect to. By default the mode would be DIRECT.

        Parameters:
        sessionMode - the value to set
        Returns:
        this builder
      • wallet

        public CreateDatabaseRegistrationDetails.Builder wallet​(String wallet)
        The wallet contents Oracle GoldenGate uses to make connections to a database.

        This attribute is expected to be base64 encoded. Deprecated: This field is deprecated and replaced by “walletSecretId”. This field will be removed after February 15 2026.

        Parameters:
        wallet - the value to set
        Returns:
        this builder
      • vaultId

        public CreateDatabaseRegistrationDetails.Builder vaultId​(String vaultId)
        Refers to the customer’s vault OCID.

        If provided, it references a vault where GoldenGate can manage secrets. Customers must add policies to permit GoldenGate to manage secrets contained within this vault.

        Parameters:
        vaultId - the value to set
        Returns:
        this builder
      • keyId

        public CreateDatabaseRegistrationDetails.Builder keyId​(String keyId)
        Refers to the customer’s master key OCID.

        If provided, it references a key to manage secrets. Customers must add policies to permit GoldenGate to use this key.

        Parameters:
        keyId - the value to set
        Returns:
        this builder
      • secretCompartmentId

        public CreateDatabaseRegistrationDetails.Builder secretCompartmentId​(String secretCompartmentId)
        The OCID of the compartment where the GoldenGate Secret will be created.

        If provided, it references a key to manage secrets. Customers must add policies to permit GoldenGate to use this key.

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