Class StepSummary.Builder

  • Enclosing class:
    StepSummary

    public static class StepSummary.Builder
    extends Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • taskRecordId

        public StepSummary.Builder taskRecordId​(String taskRecordId)
        The OCID of taskRecord assocaited with the step
        Parameters:
        taskRecordId - the value to set
        Returns:
        this builder
      • stepName

        public StepSummary.Builder stepName​(String stepName)
        Name of the Step
        Parameters:
        stepName - the value to set
        Returns:
        this builder
      • sequence

        public StepSummary.Builder sequence​(String sequence)
        The sequence of the step
        Parameters:
        sequence - the value to set
        Returns:
        this builder
      • status

        public StepSummary.Builder status​(JobStatus status)
        Status of the Task
        Parameters:
        status - the value to set
        Returns:
        this builder
      • timeStarted

        public StepSummary.Builder timeStarted​(Date timeStarted)
        The time the task started.

        An RFC3339 formatted datetime string

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

        public StepSummary.Builder timeEnded​(Date timeEnded)
        The time the task ended.

        An RFC3339 formatted datetime string

        Parameters:
        timeEnded - the value to set
        Returns:
        this builder
      • isRollbackTask

        public StepSummary.Builder isRollbackTask​(Boolean isRollbackTask)
        Is this a rollback task?
        Parameters:
        isRollbackTask - the value to set
        Returns:
        this builder
      • description

        public StepSummary.Builder description​(String description)
        Description of the step Execution
        Parameters:
        description - the value to set
        Returns:
        this builder
      • systemTags

        public StepSummary.Builder systemTags​(Map<String,​Map<String,​Object>> systemTags)
        System tags for this resource.

        Each key is predefined and scoped to a namespace. Example: {“orcl-cloud”: {“free-tier-retained”: “true”}}

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