public static class BuildRunSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
BuildRunSummary |
build() |
BuildRunSummary.Builder |
buildPipelineId(String buildPipelineId)
The OCID of the build pipeline.
|
BuildRunSummary.Builder |
buildRunArguments(BuildRunArgumentCollection buildRunArguments) |
BuildRunSummary.Builder |
buildRunProgressSummary(BuildRunProgressSummary buildRunProgressSummary) |
BuildRunSummary.Builder |
buildRunSource(BuildRunSource buildRunSource) |
BuildRunSummary.Builder |
commitInfo(CommitInfo commitInfo) |
BuildRunSummary.Builder |
compartmentId(String compartmentId)
The OCID of the compartment where the build is running.
|
BuildRunSummary.Builder |
copy(BuildRunSummary model) |
BuildRunSummary.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
BuildRunSummary.Builder |
displayName(String displayName)
Build run display name, which can be renamed and is not necessarily unique.
|
BuildRunSummary.Builder |
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.
|
BuildRunSummary.Builder |
id(String id)
Unique identifier that is immutable on creation.
|
BuildRunSummary.Builder |
lifecycleDetails(String lifecycleDetails)
A message describing the current state in more detail.
|
BuildRunSummary.Builder |
lifecycleState(BuildRun.LifecycleState lifecycleState)
The current state of the build run.
|
BuildRunSummary.Builder |
projectId(String projectId)
The OCID of the DevOps project.
|
BuildRunSummary.Builder |
systemTags(Map<String,Map<String,Object>> systemTags)
Usage of system tag keys.
|
BuildRunSummary.Builder |
timeCreated(Date timeCreated)
The time the build run was created.
|
BuildRunSummary.Builder |
timeUpdated(Date timeUpdated)
The time the build run was updated.
|
public BuildRunSummary.Builder id(String id)
Unique identifier that is immutable on creation.
id
- the value to setpublic BuildRunSummary.Builder compartmentId(String compartmentId)
The OCID of the compartment where the build is running.
compartmentId
- the value to setpublic BuildRunSummary.Builder displayName(String displayName)
Build run display name, which can be renamed and is not necessarily unique. Avoid entering confidential information.
displayName
- the value to setpublic BuildRunSummary.Builder projectId(String projectId)
The OCID of the DevOps project.
projectId
- the value to setpublic BuildRunSummary.Builder buildPipelineId(String buildPipelineId)
The OCID of the build pipeline.
buildPipelineId
- the value to setpublic BuildRunSummary.Builder buildRunSource(BuildRunSource buildRunSource)
public BuildRunSummary.Builder buildRunArguments(BuildRunArgumentCollection buildRunArguments)
public BuildRunSummary.Builder buildRunProgressSummary(BuildRunProgressSummary buildRunProgressSummary)
public BuildRunSummary.Builder timeCreated(Date timeCreated)
The time the build run was created. Format defined by RFC3339.
timeCreated
- the value to setpublic BuildRunSummary.Builder timeUpdated(Date timeUpdated)
The time the build run was updated. Format defined by RFC3339.
timeUpdated
- the value to setpublic BuildRunSummary.Builder lifecycleState(BuildRun.LifecycleState lifecycleState)
The current state of the build run.
lifecycleState
- the value to setpublic BuildRunSummary.Builder lifecycleDetails(String lifecycleDetails)
A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
lifecycleDetails
- the value to setpublic BuildRunSummary.Builder commitInfo(CommitInfo commitInfo)
public BuildRunSummary.Builder freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope. Exists
for cross-compatibility only. See Resource
Tags. Example:
{"bar-key": "value"}
freeformTags
- the value to setpublic BuildRunSummary.Builder definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource. Each key is predefined and scoped to a namespace. See
Resource Tags.
Example: {"foo-namespace": {"bar-key": "value"}}
definedTags
- the value to setpublic BuildRunSummary.Builder systemTags(Map<String,Map<String,Object>> systemTags)
Usage of system tag keys. These predefined keys are scoped to namespaces. See Resource
Tags. Example:
{"orcl-cloud": {"free-tier-retained": "true"}}
systemTags
- the value to setpublic BuildRunSummary build()
public BuildRunSummary.Builder copy(BuildRunSummary model)
Copyright © 2016–2024. All rights reserved.