Class MaintenanceRunSummary.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • displayName

        public MaintenanceRunSummary.Builder displayName​(String displayName)
        The user-friendly name for the maintenance run.
        Parameters:
        displayName - the value to set
        Returns:
        this builder
      • description

        public MaintenanceRunSummary.Builder description​(String description)
        Description of the maintenance run.
        Parameters:
        description - the value to set
        Returns:
        this builder
      • lifecycleDetails

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

        public MaintenanceRunSummary.Builder initialScheduledTime​(Date initialScheduledTime)
        The date and time the maintenance run was originally scheduled.
        Parameters:
        initialScheduledTime - the value to set
        Returns:
        this builder
      • timeScheduled

        public MaintenanceRunSummary.Builder timeScheduled​(Date timeScheduled)
        The date and time the maintenance run is scheduled to occur.
        Parameters:
        timeScheduled - the value to set
        Returns:
        this builder
      • timeStarted

        public MaintenanceRunSummary.Builder timeStarted​(Date timeStarted)
        The date and time the maintenance run starts.
        Parameters:
        timeStarted - the value to set
        Returns:
        this builder
      • timeEnded

        public MaintenanceRunSummary.Builder timeEnded​(Date timeEnded)
        The date and time the maintenance run was completed.
        Parameters:
        timeEnded - the value to set
        Returns:
        this builder
      • targetResourceType

        public MaintenanceRunSummary.Builder targetResourceType​(TargetResourceTypeEnum targetResourceType)
        The type of the target resource on which the maintenance run occurs.
        Parameters:
        targetResourceType - the value to set
        Returns:
        this builder
      • infrastructureId

        public MaintenanceRunSummary.Builder infrastructureId​(String infrastructureId)
        The OCID of the Database Infrastructure on which the maintenance run execution occurs.
        Parameters:
        infrastructureId - the value to set
        Returns:
        this builder
      • patchIdentifier

        public MaintenanceRunSummary.Builder patchIdentifier​(String patchIdentifier)
        The unique identifier of the patch.

        The identifier string includes the patch type and the version of the Database Infrastructure.

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

        public MaintenanceRunSummary.Builder patchingMode​(PatchingModeEnum patchingMode)
        Database Infrastructure patching mode, either “ROLLING” or “NONROLLING”.

        Default value is ROLLING.

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

        public MaintenanceRunSummary.Builder patchFailureCount​(Integer patchFailureCount)
        Contain the patch failure count.
        Parameters:
        patchFailureCount - the value to set
        Returns:
        this builder
      • sourceVersion

        public MaintenanceRunSummary.Builder sourceVersion​(String sourceVersion)
        The source software version for the Database Infrastructure.
        Parameters:
        sourceVersion - the value to set
        Returns:
        this builder
      • targetVersion

        public MaintenanceRunSummary.Builder targetVersion​(String targetVersion)
        The target software version for the Database Infrastructure patching operation.
        Parameters:
        targetVersion - the value to set
        Returns:
        this builder
      • isCustomActionTimeoutEnabled

        public MaintenanceRunSummary.Builder isCustomActionTimeoutEnabled​(Boolean isCustomActionTimeoutEnabled)
        If true, enables the configuration of a custom action timeout (waiting period) between compute servers patching operations.
        Parameters:
        isCustomActionTimeoutEnabled - the value to set
        Returns:
        this builder
      • customActionTimeoutInMins

        public MaintenanceRunSummary.Builder customActionTimeoutInMins​(Integer customActionTimeoutInMins)
        Determines the amount of time the system will wait before the start of each compute server patching operation.

        Supported values are 15 to 120 minutes.

        Parameters:
        customActionTimeoutInMins - the value to set
        Returns:
        this builder
      • patchingStartTime

        public MaintenanceRunSummary.Builder patchingStartTime​(Date patchingStartTime)
        The time when the patching operation started.
        Parameters:
        patchingStartTime - the value to set
        Returns:
        this builder
      • patchingEndTime

        public MaintenanceRunSummary.Builder patchingEndTime​(Date patchingEndTime)
        The time when the patching operation ended.
        Parameters:
        patchingEndTime - the value to set
        Returns:
        this builder
      • estimatedPatchingTime

        public MaintenanceRunSummary.Builder estimatedPatchingTime​(Integer estimatedPatchingTime)
        The estimated total time required in minutes for all patching operations (compute servers, storage).
        Parameters:
        estimatedPatchingTime - the value to set
        Returns:
        this builder
      • currentPatchingComponent

        public MaintenanceRunSummary.Builder currentPatchingComponent​(String currentPatchingComponent)
        The name of the current infrastructure component that is getting patched.
        Parameters:
        currentPatchingComponent - the value to set
        Returns:
        this builder
      • estimatedComponentPatchingStartTime

        public MaintenanceRunSummary.Builder estimatedComponentPatchingStartTime​(Date estimatedComponentPatchingStartTime)
        The estimated start time of the next infrastructure component patching operation.
        Parameters:
        estimatedComponentPatchingStartTime - the value to set
        Returns:
        this builder
      • systemTags

        public MaintenanceRunSummary.Builder systemTags​(Map<String,​Map<String,​Object>> systemTags)
        Usage of system tag keys.

        These predefined keys are scoped to namespaces. Example: { “orcl-cloud”: { “free-tier-retained”: “true” } }

        Parameters:
        systemTags - the value to set
        Returns:
        this builder
      • definedTags

        public MaintenanceRunSummary.Builder definedTags​(Map<String,​Map<String,​Object>> definedTags)
        Defined tags for this resource.

        Each key is predefined and scoped to a namespace. Example: {“foo-namespace”: {“bar-key”: “value”}}

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

        public MaintenanceRunSummary.Builder freeformTags​(Map<String,​String> freeformTags)
        Simple key-value pair that is applied without any predefined name, type or scope.

        This tag option exists for cross-compatibility only. Example: {“bar-key”: “value”}

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

        public MaintenanceRunSummary.Builder totalTimeTakenInMins​(Integer totalTimeTakenInMins)
        The total time taken by corresponding resource activity in minutes.
        Parameters:
        totalTimeTakenInMins - the value to set
        Returns:
        this builder