Class WorkRequestSummary.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • description

        public WorkRequestSummary.Builder description​(String description)
        A short description about the work request.
        Parameters:
        description - the value to set
        Returns:
        this builder
      • displayName

        public WorkRequestSummary.Builder displayName​(String displayName)
        A short display name for the work request.
        Parameters:
        displayName - the value to set
        Returns:
        this builder
      • message

        public WorkRequestSummary.Builder message​(String message)
        A progress or error message, if there is any.
        Parameters:
        message - the value to set
        Returns:
        this builder
      • parentId

        public WorkRequestSummary.Builder parentId​(String parentId)
        The OCID of the parent work request, if there is any.
        Parameters:
        parentId - the value to set
        Returns:
        this builder
      • compartmentId

        public WorkRequestSummary.Builder compartmentId​(String compartmentId)
        The OCID of the compartment that contains the work request.

        Work requests should be scoped to the same compartment as the resource it affects. If the work request affects multiple resources the different compartments, the services selects the compartment of the primary resource.

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

        public WorkRequestSummary.Builder percentComplete​(Float percentComplete)
        The percentage complete of the operation tracked by this work request.
        Parameters:
        percentComplete - the value to set
        Returns:
        this builder
      • timeCreated

        public WorkRequestSummary.Builder timeCreated​(Date timeCreated)
        The date and time the request was created - as described in RFC 3339, section 14.29.
        Parameters:
        timeCreated - the value to set
        Returns:
        this builder
      • timeScheduled

        public WorkRequestSummary.Builder timeScheduled​(Date timeScheduled)
        The scheduled date and time to retry the work request (in RFC 3339 format).
        Parameters:
        timeScheduled - the value to set
        Returns:
        this builder
      • isManagedByAutonomousLinux

        public WorkRequestSummary.Builder isManagedByAutonomousLinux​(Boolean isManagedByAutonomousLinux)
        Indicates whether this work request is managed by Autonomous Linux
        Parameters:
        isManagedByAutonomousLinux - the value to set
        Returns:
        this builder
      • rebootTimeoutInMins

        public WorkRequestSummary.Builder rebootTimeoutInMins​(Integer rebootTimeoutInMins)
        The number of minutes the service waits for the reboot to complete.

        If the managed instance doesn’t reboot within the timeout, the service marks the reboot job as failed.

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