Class ManagedMySqlDatabase.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • compartmentId

        public ManagedMySqlDatabase.Builder compartmentId​(String compartmentId)
        The OCID of the compartment.
        Parameters:
        compartmentId - the value to set
        Returns:
        this builder
      • dbVersion

        public ManagedMySqlDatabase.Builder dbVersion​(String dbVersion)
        The version of the MySQL Database.
        Parameters:
        dbVersion - the value to set
        Returns:
        this builder
      • timeCreated

        public ManagedMySqlDatabase.Builder timeCreated​(Date timeCreated)
        The date and time the Managed MySQL Database was created.
        Parameters:
        timeCreated - the value to set
        Returns:
        this builder
      • heatWaveClusterDisplayName

        public ManagedMySqlDatabase.Builder heatWaveClusterDisplayName​(String heatWaveClusterDisplayName)
        The name of the HeatWave cluster.
        Parameters:
        heatWaveClusterDisplayName - the value to set
        Returns:
        this builder
      • isHeatWaveEnabled

        public ManagedMySqlDatabase.Builder isHeatWaveEnabled​(Boolean isHeatWaveEnabled)
        Indicates whether HeatWave is enabled for the MySQL Database System or not.
        Parameters:
        isHeatWaveEnabled - the value to set
        Returns:
        this builder
      • isLakehouseEnabled

        public ManagedMySqlDatabase.Builder isLakehouseEnabled​(Boolean isLakehouseEnabled)
        Indicates whether HeatWave Lakehouse is enabled for the MySQL Database System or not.
        Parameters:
        isLakehouseEnabled - the value to set
        Returns:
        this builder
      • heatWaveNodeShape

        public ManagedMySqlDatabase.Builder heatWaveNodeShape​(String heatWaveNodeShape)
        The shape of the nodes in the HeatWave cluster.
        Parameters:
        heatWaveNodeShape - the value to set
        Returns:
        this builder
      • heatWaveMemorySize

        public ManagedMySqlDatabase.Builder heatWaveMemorySize​(Integer heatWaveMemorySize)
        The total memory belonging to the HeatWave cluster in GBs.
        Parameters:
        heatWaveMemorySize - the value to set
        Returns:
        this builder
      • heatWaveNodes

        public ManagedMySqlDatabase.Builder heatWaveNodes​(List<HeatWaveNode> heatWaveNodes)
        The information about individual HeatWave nodes in the cluster.
        Parameters:
        heatWaveNodes - the value to set
        Returns:
        this builder
      • isHeatWaveActive

        public ManagedMySqlDatabase.Builder isHeatWaveActive​(Boolean isHeatWaveActive)
        Indicates whether the HeatWave cluster is active or not.
        Parameters:
        isHeatWaveActive - the value to set
        Returns:
        this builder
      • timeCreatedHeatWave

        public ManagedMySqlDatabase.Builder timeCreatedHeatWave​(Date timeCreatedHeatWave)
        The date and time the Managed MySQL Database was created.
        Parameters:
        timeCreatedHeatWave - the value to set
        Returns:
        this builder
      • databaseType

        public ManagedMySqlDatabase.Builder databaseType​(MySqlType databaseType)
        The type of the MySQL Database.

        Indicates whether the database is external or MDS.

        Parameters:
        databaseType - the value to set
        Returns:
        this builder
      • managementState

        public ManagedMySqlDatabase.Builder managementState​(ManagementState managementState)
        Indicates database management status.
        Parameters:
        managementState - the value to set
        Returns:
        this builder
      • lifecycleState

        public ManagedMySqlDatabase.Builder lifecycleState​(LifecycleStates lifecycleState)
        Indicates lifecycle state of the resource.
        Parameters:
        lifecycleState - the value to set
        Returns:
        this builder
      • timeUpdated

        public ManagedMySqlDatabase.Builder timeUpdated​(Date timeUpdated)
        The date and time the Managed MySQL Database was updated.
        Parameters:
        timeUpdated - the value to set
        Returns:
        this builder