Class WorkRequestSummary.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • compartmentId

        public WorkRequestSummary.Builder compartmentId​(String compartmentId)
        Unique identifier (OCID) of the compartment that contains the work request.
        Parameters:
        compartmentId - the value to set
        Returns:
        this builder
      • percentComplete

        public WorkRequestSummary.Builder percentComplete​(Float percentComplete)
        Percentage of the work request completed.
        Parameters:
        percentComplete - the value to set
        Returns:
        this builder
      • timeAccepted

        public WorkRequestSummary.Builder timeAccepted​(Date timeAccepted)
        The date and time when the work request was created.

        Format is defined by RFC3339. Example: 2020-01-25T21:10:29.600Z

        Parameters:
        timeAccepted - the value to set
        Returns:
        this builder
      • timeStarted

        public WorkRequestSummary.Builder timeStarted​(Date timeStarted)
        The date and time when the work request transitioned from ACCEPTED to IN_PROGRESS.

        Format is defined by RFC3339. Example: 2020-01-25T21:10:29.600Z

        Parameters:
        timeStarted - the value to set
        Returns:
        this builder
      • timeFinished

        public WorkRequestSummary.Builder timeFinished​(Date timeFinished)
        The date and time when the work request reached a terminal state (FAILED or SUCCEEDED).

        Format is defined by RFC3339. Example: 2020-01-25T21:10:29.600Z

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