Class UpdateMaintenanceDetails.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • windowStartTime

        public UpdateMaintenanceDetails.Builder windowStartTime​(String windowStartTime)
        The start of the 2 hour maintenance window.

        This string is of the format: "{day-of-week} {time-of-day}".

        "{day-of-week}" is a case-insensitive string like "mon", "tue", &c.

        "{time-of-day}" is the "Time" portion of an RFC3339-formatted timestamp. Any second or sub-second time data will be truncated to zero.

        If you set the read replica maintenance window to "", the read replica is set same as the DB system maintenance window. If not specific by the user, there will be no changes to the maintenace window.

        Parameters:
        windowStartTime - the value to set
        Returns:
        this builder
      • versionPreference

        public UpdateMaintenanceDetails.Builder versionPreference​(VersionPreference versionPreference)
        The preferred version to target when performing an automatic MySQL upgrade.

        Defaults to OLDEST.

        OLDEST: Choose the oldest available MySQL version based on the current version of the DB System. SECOND_NEWEST: Choose the MySQL version before the newest for auto-upgrade. NEWEST: Choose the latest and greatest MySQL version available for auto-upgrade.

        Parameters:
        versionPreference - the value to set
        Returns:
        this builder
      • versionTrackPreference

        public UpdateMaintenanceDetails.Builder versionTrackPreference​(VersionTrackPreference versionTrackPreference)
        The preferred version track to target when performing an automatic MySQL upgrade.

        Defaults to FOLLOW. LONG_TERM_SUPPORT: No MySQL database behavior changes. INNOVATION: Provides access to the latest features and all bug fixes. FOLLOW: Follows the track of the current MySQL version.

        Parameters:
        versionTrackPreference - the value to set
        Returns:
        this builder
      • maintenanceScheduleType

        public UpdateMaintenanceDetails.Builder maintenanceScheduleType​(MaintenanceScheduleType maintenanceScheduleType)
        The maintenance schedule type of the DB system.

        Defaults to REGULAR. EARLY: Maintenance schedule follows a cycle where upgrades are performed when versions become deprecated. REGULAR: Maintenance schedule follows the normal cycle where upgrades are performed when versions become unavailable.

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