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