Class PipelineRun.Builder

  • Enclosing class:
    PipelineRun

    public static class PipelineRun.Builder
    extends Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • timeAccepted

        public PipelineRun.Builder timeAccepted​(Date timeAccepted)
        The date and time the pipeline run was accepted in the timestamp format defined by RFC3339.
        Parameters:
        timeAccepted - the value to set
        Returns:
        this builder
      • timeStarted

        public PipelineRun.Builder timeStarted​(Date timeStarted)
        The date and time the pipeline run request was started in the timestamp format defined by RFC3339.
        Parameters:
        timeStarted - the value to set
        Returns:
        this builder
      • timeUpdated

        public PipelineRun.Builder timeUpdated​(Date timeUpdated)
        The date and time the pipeline run was updated in the timestamp format defined by RFC3339.
        Parameters:
        timeUpdated - the value to set
        Returns:
        this builder
      • timeFinished

        public PipelineRun.Builder timeFinished​(Date timeFinished)
        The date and time the pipeline run request was finished in the timestamp format defined by RFC3339.
        Parameters:
        timeFinished - the value to set
        Returns:
        this builder
      • createdBy

        public PipelineRun.Builder createdBy​(String createdBy)
        The OCID of the user who created the pipeline run.
        Parameters:
        createdBy - the value to set
        Returns:
        this builder
      • projectId

        public PipelineRun.Builder projectId​(String projectId)
        The OCID of the project to associate the pipeline run with.
        Parameters:
        projectId - the value to set
        Returns:
        this builder
      • compartmentId

        public PipelineRun.Builder compartmentId​(String compartmentId)
        The OCID of the compartment where you want to create the pipeline run.
        Parameters:
        compartmentId - the value to set
        Returns:
        this builder
      • pipelineId

        public PipelineRun.Builder pipelineId​(String pipelineId)
        The OCID of the pipeline.
        Parameters:
        pipelineId - the value to set
        Returns:
        this builder
      • displayName

        public PipelineRun.Builder displayName​(String displayName)
        A user-friendly display name for the resource.
        Parameters:
        displayName - the value to set
        Returns:
        this builder
      • stepOverrideDetails

        public PipelineRun.Builder stepOverrideDetails​(List<PipelineStepOverrideDetails> stepOverrideDetails)
        Array of step override details.

        Only Step Configuration is allowed to be overridden.

        Parameters:
        stepOverrideDetails - the value to set
        Returns:
        this builder
      • lifecycleDetails

        public PipelineRun.Builder lifecycleDetails​(String lifecycleDetails)
        A message describing the current state in more detail.

        For example, can be used to provide actionable information for a resource in ‘Failed’ state.

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

        public PipelineRun.Builder freeformTags​(Map<String,​String> freeformTags)
        Free-form tags for this resource.

        Each tag is a simple key-value pair with no predefined name, type, or namespace. See Resource Tags. Example: {“Department”: “Finance”}

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

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

        Each key is predefined and scoped to a namespace. See Resource Tags. Example: {“Operations”: {“CostCenter”: “42”}}

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

        public PipelineRun.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