Package com.oracle.bmc.devops.model
Class BuildRunSnapshot.Builder
- java.lang.Object
- 
- com.oracle.bmc.devops.model.BuildRunSnapshot.Builder
 
- 
- Enclosing class:
- BuildRunSnapshot
 
 public static class BuildRunSnapshot.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description BuildRunSnapshotbuild()BuildRunSnapshot.BuilderbuildPipelineId(String buildPipelineId)The OCID of the build pipeline where the build was triggered.BuildRunSnapshot.BuilderbuildRunId(String buildRunId)The OCID of the build run.BuildRunSnapshot.BuildercommitId(String commitId)The commit id which the build was triggered from.BuildRunSnapshot.Buildercopy(BuildRunSnapshot model)BuildRunSnapshot.BuilderdisplayName(String displayName)The display name of the build run.BuildRunSnapshot.BuilderlifecycleDetails(String lifecycleDetails)A message describing the current state in more detail.BuildRunSnapshot.BuilderlifecycleState(BuildRunSnapshot.LifecycleState lifecycleState)The current status of the build run.BuildRunSnapshot.BuildertimeCreated(Date timeCreated)The time the build run was created.BuildRunSnapshot.BuildertimeUpdated(Date timeUpdated)The time the build run was updated.
 
- 
- 
- 
Method Detail- 
buildPipelineIdpublic 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
 
 - 
displayNamepublic BuildRunSnapshot.Builder displayName(String displayName) The display name of the build run.- Parameters:
- displayName- the value to set
- Returns:
- this builder
 
 - 
commitIdpublic BuildRunSnapshot.Builder commitId(String commitId) The commit id which the build was triggered from.- Parameters:
- commitId- the value to set
- Returns:
- this builder
 
 - 
buildRunIdpublic BuildRunSnapshot.Builder buildRunId(String buildRunId) The OCID of the build run.- Parameters:
- buildRunId- the value to set
- Returns:
- this builder
 
 - 
lifecycleStatepublic BuildRunSnapshot.Builder lifecycleState(BuildRunSnapshot.LifecycleState lifecycleState) The current status of the build run.- Parameters:
- lifecycleState- the value to set
- Returns:
- this builder
 
 - 
lifecycleDetailspublic BuildRunSnapshot.Builder lifecycleDetails(String lifecycleDetails) A message describing the current state in more detail.- Parameters:
- lifecycleDetails- the value to set
- Returns:
- this builder
 
 - 
timeCreatedpublic 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
 
 - 
timeUpdatedpublic 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
 
 - 
buildpublic BuildRunSnapshot build() 
 - 
copypublic BuildRunSnapshot.Builder copy(BuildRunSnapshot model) 
 
- 
 
-