Class CreateStandbyDetails.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • sourceDatabaseId

        public CreateStandbyDetails.Builder sourceDatabaseId​(String sourceDatabaseId)
        The OCID of the source database.
        Parameters:
        sourceDatabaseId - the value to set
        Returns:
        this builder
      • databaseAdminPassword

        public CreateStandbyDetails.Builder databaseAdminPassword​(String databaseAdminPassword)
        The administrator password of the primary database in this Data Guard association.

        *The password MUST be the same as the primary admin password.**

        Parameters:
        databaseAdminPassword - the value to set
        Returns:
        this builder
      • sourceTdeWalletPassword

        public CreateStandbyDetails.Builder sourceTdeWalletPassword​(String sourceTdeWalletPassword)
        The TDE wallet password of the source database specified by ‘sourceDatabaseId’.
        Parameters:
        sourceTdeWalletPassword - the value to set
        Returns:
        this builder
      • isActiveDataGuardEnabled

        public CreateStandbyDetails.Builder isActiveDataGuardEnabled​(Boolean isActiveDataGuardEnabled)
        True if active Data Guard is enabled.
        Parameters:
        isActiveDataGuardEnabled - the value to set
        Returns:
        this builder
      • dbUniqueName

        public CreateStandbyDetails.Builder dbUniqueName​(String dbUniqueName)
        Specifies the DB_UNIQUE_NAME of the peer database to be created.
        Parameters:
        dbUniqueName - the value to set
        Returns:
        this builder
      • sidPrefix

        public CreateStandbyDetails.Builder sidPrefix​(String sidPrefix)
        Specifies a prefix for the Oracle SID of the database to be created.
        Parameters:
        sidPrefix - the value to set
        Returns:
        this builder
      • transportType

        public CreateStandbyDetails.Builder transportType​(CreateStandbyDetails.TransportType transportType)
        The redo transport type to use for this Data Guard association.

        Valid values depend on the specified protectionMode:

        MAXIMUM_AVAILABILITY - SYNC or FASTSYNC * MAXIMUM_PERFORMANCE - ASYNC * MAXIMUM_PROTECTION - SYNC

        For more information, see [Redo Transport Services](http://docs.oracle.com/database/122/SBYDB/oracle-data-guard-redo-transport-services.htm#SBYDB00400) in the Oracle Data Guard documentation.

        *IMPORTANT** - The only transport type currently supported by the Database service is ASYNC.

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