Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
BuildRun |
build() |
BuildRun.Builder |
buildOutputs(BuildOutputs buildOutputs) |
BuildRun.Builder |
buildPipelineId(String buildPipelineId)
The OCID of the build pipeline.
|
BuildRun.Builder |
buildRunArguments(BuildRunArgumentCollection buildRunArguments) |
BuildRun.Builder |
buildRunProgress(BuildRunProgress buildRunProgress) |
BuildRun.Builder |
buildRunSource(BuildRunSource buildRunSource) |
BuildRun.Builder |
commitInfo(CommitInfo commitInfo) |
BuildRun.Builder |
compartmentId(String compartmentId)
The OCID of the compartment where the build is running.
|
BuildRun.Builder |
copy(BuildRun model) |
BuildRun.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
BuildRun.Builder |
displayName(String displayName)
Build run display name, which can be renamed and is not necessarily unique.
|
BuildRun.Builder |
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.
|
BuildRun.Builder |
id(String id)
Unique identifier that is immutable on creation.
|
BuildRun.Builder |
lifecycleDetails(String lifecycleDetails)
A message describing the current state in more detail.
|
BuildRun.Builder |
lifecycleState(BuildRun.LifecycleState lifecycleState)
The current state of the build run.
|
BuildRun.Builder |
projectId(String projectId)
The OCID of the DevOps project.
|
BuildRun.Builder |
systemTags(Map<String,Map<String,Object>> systemTags)
Usage of system tag keys.
|
BuildRun.Builder |
timeCreated(Date timeCreated)
The time the build run was created.
|
BuildRun.Builder |
timeUpdated(Date timeUpdated)
The time the build run was updated.
|
public BuildRun.Builder id(String id)
Unique identifier that is immutable on creation.
id
- the value to setpublic BuildRun.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 BuildRun.Builder compartmentId(String compartmentId)
The OCID of the compartment where the build is running.
compartmentId
- the value to setpublic BuildRun.Builder projectId(String projectId)
The OCID of the DevOps project.
projectId
- the value to setpublic BuildRun.Builder buildPipelineId(String buildPipelineId)
The OCID of the build pipeline.
buildPipelineId
- the value to setpublic BuildRun.Builder buildRunSource(BuildRunSource buildRunSource)
public BuildRun.Builder buildRunArguments(BuildRunArgumentCollection buildRunArguments)
public BuildRun.Builder timeCreated(Date timeCreated)
The time the build run was created. Format defined by RFC3339.
timeCreated
- the value to setpublic BuildRun.Builder timeUpdated(Date timeUpdated)
The time the build run was updated. Format defined by RFC3339.
timeUpdated
- the value to setpublic BuildRun.Builder lifecycleState(BuildRun.LifecycleState lifecycleState)
The current state of the build run.
lifecycleState
- the value to setpublic BuildRun.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 BuildRun.Builder buildRunProgress(BuildRunProgress buildRunProgress)
public BuildRun.Builder commitInfo(CommitInfo commitInfo)
public BuildRun.Builder buildOutputs(BuildOutputs buildOutputs)
public BuildRun.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 BuildRun.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 BuildRun.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 BuildRun build()
public BuildRun.Builder copy(BuildRun model)
Copyright © 2016–2024. All rights reserved.