public static class BuildRunSnapshotSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
BuildRunSnapshotSummary |
build() |
BuildRunSnapshotSummary.Builder |
buildPipelineId(String buildPipelineId)
The OCID of the build pipeline where the build was triggered.
|
BuildRunSnapshotSummary.Builder |
buildRunId(String buildRunId)
The OCID of the build run.
|
BuildRunSnapshotSummary.Builder |
commitId(String commitId)
The commit id which the build was triggered from.
|
BuildRunSnapshotSummary.Builder |
copy(BuildRunSnapshotSummary model) |
BuildRunSnapshotSummary.Builder |
displayName(String displayName)
The display name of the build run.
|
BuildRunSnapshotSummary.Builder |
lifecycleDetails(String lifecycleDetails)
A message describing the current state in more detail.
|
BuildRunSnapshotSummary.Builder |
lifecycleState(BuildRunSnapshot.LifecycleState lifecycleState)
The current status of the build run.
|
BuildRunSnapshotSummary.Builder |
timeCreated(Date timeCreated)
The time the build run was created.
|
BuildRunSnapshotSummary.Builder |
timeUpdated(Date timeUpdated)
The time the build run was updated.
|
public BuildRunSnapshotSummary.Builder buildPipelineId(String buildPipelineId)
The OCID of the build pipeline where the build was triggered.
buildPipelineId
- the value to setpublic BuildRunSnapshotSummary.Builder commitId(String commitId)
The commit id which the build was triggered from.
commitId
- the value to setpublic BuildRunSnapshotSummary.Builder buildRunId(String buildRunId)
The OCID of the build run.
buildRunId
- the value to setpublic BuildRunSnapshotSummary.Builder displayName(String displayName)
The display name of the build run.
displayName
- the value to setpublic BuildRunSnapshotSummary.Builder lifecycleState(BuildRunSnapshot.LifecycleState lifecycleState)
The current status of the build run.
lifecycleState
- the value to setpublic BuildRunSnapshotSummary.Builder lifecycleDetails(String lifecycleDetails)
A message describing the current state in more detail.
lifecycleDetails
- the value to setpublic BuildRunSnapshotSummary.Builder timeCreated(Date timeCreated)
The time the build run was created. Format defined by RFC3339.
timeCreated
- the value to setpublic BuildRunSnapshotSummary.Builder timeUpdated(Date timeUpdated)
The time the build run was updated. Format defined by RFC3339.
timeUpdated
- the value to setpublic BuildRunSnapshotSummary build()
public BuildRunSnapshotSummary.Builder copy(BuildRunSnapshotSummary model)
Copyright © 2016–2024. All rights reserved.