Class PipelineRunSummary.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • timeAccepted

        public PipelineRunSummary.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 PipelineRunSummary.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
      • timeFinished

        public PipelineRunSummary.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
      • timeUpdated

        public PipelineRunSummary.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
      • createdBy

        public PipelineRunSummary.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 PipelineRunSummary.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 PipelineRunSummary.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 PipelineRunSummary.Builder pipelineId​(String pipelineId)
        The OCID of the pipeline for which pipeline run is created.
        Parameters:
        pipelineId - the value to set
        Returns:
        this builder
      • displayName

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

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