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