Class BuildRunSnapshot.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • buildPipelineId

        public BuildRunSnapshot.Builder buildPipelineId​(String buildPipelineId)
        The OCID of the build pipeline where the build was triggered.
        Parameters:
        buildPipelineId - the value to set
        Returns:
        this builder
      • displayName

        public BuildRunSnapshot.Builder displayName​(String displayName)
        The display name of the build run.
        Parameters:
        displayName - the value to set
        Returns:
        this builder
      • commitId

        public BuildRunSnapshot.Builder commitId​(String commitId)
        The commit id which the build was triggered from.
        Parameters:
        commitId - the value to set
        Returns:
        this builder
      • buildRunId

        public BuildRunSnapshot.Builder buildRunId​(String buildRunId)
        The OCID of the build run.
        Parameters:
        buildRunId - the value to set
        Returns:
        this builder
      • lifecycleDetails

        public BuildRunSnapshot.Builder lifecycleDetails​(String lifecycleDetails)
        A message describing the current state in more detail.
        Parameters:
        lifecycleDetails - the value to set
        Returns:
        this builder
      • timeCreated

        public BuildRunSnapshot.Builder timeCreated​(Date timeCreated)
        The time the build run was created.

        Format defined by RFC3339.

        Parameters:
        timeCreated - the value to set
        Returns:
        this builder
      • timeUpdated

        public BuildRunSnapshot.Builder timeUpdated​(Date timeUpdated)
        The time the build run was updated.

        Format defined by RFC3339.

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