Class AutonomousContainerDatabase.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • displayName

        public AutonomousContainerDatabase.Builder displayName​(String displayName)
        The user-provided name for the Autonomous Container Database.
        Parameters:
        displayName - the value to set
        Returns:
        this builder
      • dbUniqueName

        public AutonomousContainerDatabase.Builder dbUniqueName​(String dbUniqueName)
        Deprecated. The DB_UNIQUE_NAME value is set by Oracle Cloud Infrastructure.

        Do not specify a value for this parameter. Specifying a value for this field will cause Terraform operations to fail.

        Parameters:
        dbUniqueName - the value to set
        Returns:
        this builder
      • dbName

        public AutonomousContainerDatabase.Builder dbName​(String dbName)
        The Database name for the Autonomous Container Database.

        The name must be unique within the Cloud Autonomous VM Cluster, starting with an alphabetic character, followed by 1 to 7 alphanumeric characters.

        Parameters:
        dbName - the value to set
        Returns:
        this builder
      • autonomousExadataInfrastructureId

        public AutonomousContainerDatabase.Builder autonomousExadataInfrastructureId​(String autonomousExadataInfrastructureId)
        No longer used. For Autonomous Database on dedicated Exadata infrastructure, the container database is created within a specified cloudAutonomousVmCluster.
        Parameters:
        autonomousExadataInfrastructureId - the value to set
        Returns:
        this builder
      • autonomousVmClusterId

        public AutonomousContainerDatabase.Builder autonomousVmClusterId​(String autonomousVmClusterId)
        The OCID of the Autonomous VM Cluster.
        Parameters:
        autonomousVmClusterId - the value to set
        Returns:
        this builder
      • cloudAutonomousVmClusterId

        public AutonomousContainerDatabase.Builder cloudAutonomousVmClusterId​(String cloudAutonomousVmClusterId)
        The OCID of the cloud Autonomous Exadata VM Cluster.
        Parameters:
        cloudAutonomousVmClusterId - the value to set
        Returns:
        this builder
      • kmsKeyId

        public AutonomousContainerDatabase.Builder kmsKeyId​(String kmsKeyId)
        The OCID of the key container that is used as the master encryption key in database transparent data encryption (TDE) operations.
        Parameters:
        kmsKeyId - the value to set
        Returns:
        this builder
      • vaultId

        public AutonomousContainerDatabase.Builder vaultId​(String vaultId)
        The OCID of the Oracle Cloud Infrastructure vault.

        This parameter and secretId are required for Customer Managed Keys.

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

        public AutonomousContainerDatabase.Builder kmsKeyVersionId​(String kmsKeyVersionId)
        The OCID of the key container version that is used in database transparent data encryption (TDE) operations KMS Key can have multiple key versions.

        If none is specified, the current key version (latest) of the Key Id is used for the operation. Autonomous Database Serverless does not use key versions, hence is not applicable for Autonomous Database Serverless instances.

        Parameters:
        kmsKeyVersionId - the value to set
        Returns:
        this builder
      • lifecycleDetails

        public AutonomousContainerDatabase.Builder lifecycleDetails​(String lifecycleDetails)
        Additional information about the current lifecycle state.
        Parameters:
        lifecycleDetails - the value to set
        Returns:
        this builder
      • timeCreated

        public AutonomousContainerDatabase.Builder timeCreated​(Date timeCreated)
        The date and time the Autonomous Container Database was created.
        Parameters:
        timeCreated - the value to set
        Returns:
        this builder
      • timeSnapshotStandbyRevert

        public AutonomousContainerDatabase.Builder timeSnapshotStandbyRevert​(Date timeSnapshotStandbyRevert)
        The date and time the Autonomous Container Database will be reverted to Standby from Snapshot Standby.
        Parameters:
        timeSnapshotStandbyRevert - the value to set
        Returns:
        this builder
      • lastMaintenanceRunId

        public AutonomousContainerDatabase.Builder lastMaintenanceRunId​(String lastMaintenanceRunId)
        The OCID of the last maintenance run.
        Parameters:
        lastMaintenanceRunId - the value to set
        Returns:
        this builder
      • nextMaintenanceRunId

        public AutonomousContainerDatabase.Builder nextMaintenanceRunId​(String nextMaintenanceRunId)
        The OCID of the next maintenance run.
        Parameters:
        nextMaintenanceRunId - the value to set
        Returns:
        this builder
      • standbyMaintenanceBufferInDays

        public AutonomousContainerDatabase.Builder standbyMaintenanceBufferInDays​(Integer standbyMaintenanceBufferInDays)
        The scheduling detail for the quarterly maintenance window of the standby Autonomous Container Database.

        This value represents the number of days before scheduled maintenance of the primary database.

        Parameters:
        standbyMaintenanceBufferInDays - the value to set
        Returns:
        this builder
      • isDstFileUpdateEnabled

        public AutonomousContainerDatabase.Builder isDstFileUpdateEnabled​(Boolean isDstFileUpdateEnabled)
        Indicates if an automatic DST Time Zone file update is enabled for the Autonomous Container Database.

        If enabled along with Release Update, patching will be done in a Non-Rolling manner.

        Parameters:
        isDstFileUpdateEnabled - the value to set
        Returns:
        this builder
      • dstFileVersion

        public AutonomousContainerDatabase.Builder dstFileVersion​(String dstFileVersion)
        DST Time-Zone File version of the Autonomous Container Database.
        Parameters:
        dstFileVersion - the value to set
        Returns:
        this builder
      • freeformTags

        public AutonomousContainerDatabase.Builder freeformTags​(Map<String,​String> freeformTags)
        Free-form tags for this resource.

        Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags.

        Example: {"Department": "Finance"}

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

        public AutonomousContainerDatabase.Builder availabilityDomain​(String availabilityDomain)
        The availability domain of the Autonomous Container Database.
        Parameters:
        availabilityDomain - the value to set
        Returns:
        this builder
      • dbVersion

        public AutonomousContainerDatabase.Builder dbVersion​(String dbVersion)
        Oracle Database version of the Autonomous Container Database.
        Parameters:
        dbVersion - the value to set
        Returns:
        this builder
      • backupDestinationPropertiesList

        public AutonomousContainerDatabase.Builder backupDestinationPropertiesList​(List<BackupDestinationProperties> backupDestinationPropertiesList)
        This list describes the backup destination properties associated with the Autonomous Container Database (ACD) ’s preferred backup destination.

        The object at a given index is associated with the destination present at the same index in the backup destination details list of the ACD Backup Configuration.

        Parameters:
        backupDestinationPropertiesList - the value to set
        Returns:
        this builder
      • associatedBackupConfigurationDetails

        public AutonomousContainerDatabase.Builder associatedBackupConfigurationDetails​(List<BackupDestinationConfigurationSummary> associatedBackupConfigurationDetails)
        A backup config object holds information about preferred backup destinations only.

        This object holds information about the associated backup destinations, such as secondary backup destinations created for local backups or remote replicated backups.

        Parameters:
        associatedBackupConfigurationDetails - the value to set
        Returns:
        this builder
      • keyStoreWalletName

        public AutonomousContainerDatabase.Builder keyStoreWalletName​(String keyStoreWalletName)
        The wallet name for Oracle Key Vault.
        Parameters:
        keyStoreWalletName - the value to set
        Returns:
        this builder
      • memoryPerOracleComputeUnitInGBs

        public AutonomousContainerDatabase.Builder memoryPerOracleComputeUnitInGBs​(Integer memoryPerOracleComputeUnitInGBs)
        The amount of memory (in GBs) enabled per ECPU or OCPU in the Autonomous VM Cluster.
        Parameters:
        memoryPerOracleComputeUnitInGBs - the value to set
        Returns:
        this builder
      • availableCpus

        public AutonomousContainerDatabase.Builder availableCpus​(Float availableCpus)
        Sum of CPUs available on the Autonomous VM Cluster + Sum of reclaimable CPUs available in the Autonomous Container Database.
        Parameters:
        availableCpus - the value to set
        Returns:
        this builder
      • totalCpus

        public AutonomousContainerDatabase.Builder totalCpus​(Integer totalCpus)
        The number of CPUs allocated to the Autonomous VM cluster.
        Parameters:
        totalCpus - the value to set
        Returns:
        this builder
      • reclaimableCpus

        public AutonomousContainerDatabase.Builder reclaimableCpus​(Float reclaimableCpus)
        CPUs that continue to be included in the count of CPUs available to the Autonomous Container Database even after one of its Autonomous Database is terminated or scaled down.

        You can release them to the available CPUs at its parent Autonomous VM Cluster level by restarting the Autonomous Container Database.

        Parameters:
        reclaimableCpus - the value to set
        Returns:
        this builder
      • provisionableCpus

        public AutonomousContainerDatabase.Builder provisionableCpus​(List<Float> provisionableCpus)
        An array of CPU values that can be used to successfully provision a single Autonomous Database.
        Parameters:
        provisionableCpus - the value to set
        Returns:
        this builder
      • listOneOffPatches

        public AutonomousContainerDatabase.Builder listOneOffPatches​(List<String> listOneOffPatches)
        List of One-Off patches that has been successfully applied to Autonomous Container Database
        Parameters:
        listOneOffPatches - the value to set
        Returns:
        this builder
      • provisionedCpus

        public AutonomousContainerDatabase.Builder provisionedCpus​(Float provisionedCpus)
        The number of CPUs provisioned in an Autonomous Container Database.
        Parameters:
        provisionedCpus - the value to set
        Returns:
        this builder
      • reservedCpus

        public AutonomousContainerDatabase.Builder reservedCpus​(Float reservedCpus)
        The number of CPUs reserved in an Autonomous Container Database.
        Parameters:
        reservedCpus - the value to set
        Returns:
        this builder
      • largestProvisionableAutonomousDatabaseInCpus

        public AutonomousContainerDatabase.Builder largestProvisionableAutonomousDatabaseInCpus​(Float largestProvisionableAutonomousDatabaseInCpus)
        The largest Autonomous Database (CPU) that can be created in a new Autonomous Container Database.
        Parameters:
        largestProvisionableAutonomousDatabaseInCpus - the value to set
        Returns:
        this builder
      • timeOfLastBackup

        public AutonomousContainerDatabase.Builder timeOfLastBackup​(Date timeOfLastBackup)
        The timestamp of last successful backup.

        Here NULL value represents either there are no successful backups or backups are not configured for this Autonomous Container Database.

        Parameters:
        timeOfLastBackup - the value to set
        Returns:
        this builder
      • dbSplitThreshold

        public AutonomousContainerDatabase.Builder dbSplitThreshold​(Integer dbSplitThreshold)
        The CPU value beyond which an Autonomous Database will be opened across multiple nodes.

        The default value of this attribute is 16 for OCPUs and 64 for ECPUs.

        Parameters:
        dbSplitThreshold - the value to set
        Returns:
        this builder
      • vmFailoverReservation

        public AutonomousContainerDatabase.Builder vmFailoverReservation​(Integer vmFailoverReservation)
        The percentage of CPUs reserved across nodes to support node failover.

        Allowed values are 0%, 25%, and 50%, with 50% being the default option.

        Parameters:
        vmFailoverReservation - the value to set
        Returns:
        this builder
      • netServicesArchitecture

        public AutonomousContainerDatabase.Builder netServicesArchitecture​(AutonomousContainerDatabase.NetServicesArchitecture netServicesArchitecture)
        Enabling SHARED server architecture enables a database server to allow many client processes to share very few server processes, thereby increasing the number of supported users.
        Parameters:
        netServicesArchitecture - the value to set
        Returns:
        this builder
      • isMultipleStandby

        public AutonomousContainerDatabase.Builder isMultipleStandby​(Boolean isMultipleStandby)
        Whether it is multiple standby Autonomous Dataguard
        Parameters:
        isMultipleStandby - the value to set
        Returns:
        this builder
      • isDataGuardEnabled

        public AutonomousContainerDatabase.Builder isDataGuardEnabled​(Boolean isDataGuardEnabled)
        Deprecated. Indicates whether the Autonomous Database has local (in-region) Data Guard enabled.

        Not applicable to cross-region Autonomous Data Guard associations, or to Autonomous Databases using dedicated Exadata infrastructure or Exadata Cloud@Customer infrastructure.

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