Class CreateMaintenanceRunDetails.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • targetResourceId

        public CreateMaintenanceRunDetails.Builder targetResourceId​(String targetResourceId)
        The ID of the target resource for which the maintenance run should be created.
        Parameters:
        targetResourceId - the value to set
        Returns:
        this builder
      • isDstFileUpdateEnabled

        public CreateMaintenanceRunDetails.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
      • timeScheduled

        public CreateMaintenanceRunDetails.Builder timeScheduled​(Date timeScheduled)
        The date and time that update should be scheduled.
        Parameters:
        timeScheduled - the value to set
        Returns:
        this builder
      • patchingMode

        public CreateMaintenanceRunDetails.Builder patchingMode​(CreateMaintenanceRunDetails.PatchingMode patchingMode)
        Cloud Exadata infrastructure node patching method, either “ROLLING” or “NONROLLING”.

        Default value is ROLLING.

        IMPORTANT*: Non-rolling infrastructure patching involves system down time. See [Oracle-Managed Infrastructure Maintenance Updates](https://docs.oracle.com/iaas/Content/Database/Concepts/examaintenance.htm#Oracle) for more information.

        Parameters:
        patchingMode - the value to set
        Returns:
        this builder
      • compartmentId

        public CreateMaintenanceRunDetails.Builder compartmentId​(String compartmentId)
        The OCID of the compartment containing the Maintenance Run.
        Parameters:
        compartmentId - the value to set
        Returns:
        this builder
      • databaseSoftwareImageId

        public CreateMaintenanceRunDetails.Builder databaseSoftwareImageId​(String databaseSoftwareImageId)
        The Autonomous Database Software Image OCID
        Parameters:
        databaseSoftwareImageId - the value to set
        Returns:
        this builder